Displaying 1 result from an estimated 1 matches for "fiber1".
Did you mean:
fiber
2009 Aug 28
2
Pls package
Hi,
I have managed to format my data into a single datframe consisting of two AsIs response and predictor dataframes in order to supply the plsr command of the pls package for principal components analysis.
When I execute the command, however, I get this error:
> fiber1 <- plsr(respmat ~ predmat, ncomp=1, data=inputmat,validation="LOO")
Error in model.frame.default(formula = respmat ~ predmat, data = inputmat) :
invalid type (list) for variable ''respmat''
I happen to have a lot of NAs in some of the columns. Is that the problem?...