Displaying 1 result from an estimated 1 matches for "tp4425930p4426040".
2012 Feb 27
3
Principal Components for matrices with NA
Hello,
I have a matrix with 267 columns, all rows of which have at least one
column missing (NA).
All three methods i've tried (pcs, princomp, and prcomp) fail with either
"Error in svd(zsmall) : infinite or missing values in 'x'" (latter two)
or
"Error in cov.wt(z) : 'x' must contain finite values only"
The last one happens because of the check
if