Displaying 1 result from an estimated 1 matches for "princomppredict".
2010 May 21
1
predict
....9385065 0.6921495 -2.2743761
[4,] 2.3491111 1.46433537 3.2600091 0.5121311 -2.2212727
[5,] 1.4467501 2.64829347 -2.4559811 -2.4745585 -2.3537081
[6,] 0.1575151 3.35242794 1.9367978 3.0293779 -1.4176263
now I am trying to use the predict command like this
y=predict(net5, newdata=data.frame(PrinCompPredict)[,1:5]) where
> data.frame(PrinCompPredict)[,1:5]
PC1 PC2 PC3 PC4 PC5
1 6.473546 7.529725 1.192588 0.1401967 10.81945
and I am getting the following error message,
Mensajes de aviso perdidos
'newdata' had 1 rows but variable(s) found have 164 rows...