W dniu 22 marca 2011 10:27 użytkownik Łukasz Ręcławowicz <
lukasz.reclawowicz@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]]

