[Rd] prcomp: problem with zeros? (PR#8870)
juha.heljoranta at iki.fi
juha.heljoranta at iki.fi
Thu May 18 08:08:19 CEST 2006
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
More information about the R-devel
mailing list