Displaying 1 result from an estimated 1 matches for "zsmall".
Did you mean:
small
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 (!all(is.finite(x)))
in cov.wt
Q: is there a way to do princomp or another method where every row has at...