arunkumar1111 <akpbond007 at gmail.com> writes:
> How to use the segments in the PLS
>
> fit1 <- mvr(formula=Y~X1+X2+X3+X4+x5+....+x27, data=Dataset,
comp=5,segment
> =7 )
>
> here when i use segments,the error was like this
>
> rror in mvrCv(X, Y, ncomp, method = method, scale = sdscale, ...) :
> argument 7 matches multiple formal arguments
This cannot be true. mvr does not call mvrCv unless you give it the
argument validation = "CV" or validation = "LOO".
Anyway, the argument is "segments", not "segment", which -
as the error
message says - matches multiple arguments, in this case
"segment.type".
--
Regards,
Bj?rn-Helge Mevik