prcomp: problem with zeros? (PR#8870)
Prof Brian Ripley wrote:
Error in svd(x, nu = 0) : infinite or missing values in 'x'
Why do you say that? Without a reproducible example, we cannot judge what is going on. If you called prcomp with scale=TRUE on a matrix that has a completely zero (or constant) column, then this is a reasonable error message.
My bad, the matrix has actually a zero column. Thank you for your time and sorry for any inconveniences that this may have caused. Regards, Juha Heljoranta