W dniu 22 marca 2011 10:27 u¿ytkownik £ukasz Rêc³awowicz <
lukasz.reclawow...@gmail.com> napisa³:

>
> penalized.pls.kernel(Z,y,M=lambda*P,ncomp=number.comp) # But using
> directly, coefficients are different.
>

I see me error P=!M, but still results are the same...

 p <- ncol(Z)
Minv <- diag(p) + P
M <- solve(Minv)
penalized.pls.default(Z,y,M=M,ncomp=number.comp)
penalized.pls.kernel(Z,y,M=M,ncomp=number.comp)



-- 
Mi³ego dnia

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to