2012/2/15 gab <gis.gn@libero.it>

>
> Errore in scale(newdata[, object$scaled, drop = FALSE], center =
> object$x.scale$"scaled:center",  :
>  (subscript) indice logicol troppo lungo
>
I'm pretty sure the problem is with your data frame. Maybe if you share the
result of
dput(training[1:10, ])
# (make sure to include enough relevant lines)
that could allow to see the structure of your data.
--
Etienne

	[[alternative HTML version deleted]]

