[R] Y in Kohonen xyf function

K. Elo maillists at pp.inet.fi
Wed Jun 22 22:01:50 CEST 2016


Hi!

22.06.2016, 22:00, chalabi.elahe at yahoo.de wrote:
> Dear Kimmo,
> I already used df$speed[training] in df.xyf but I get this error:
>    Error in xyf(Xtraining,factor(df$speed[training]),grid=somgrid(5, :
>    NA/NaN/Inf in foreign function call (arg 1)

Please check for zeros (0) and NAs in df$speed or Xtraining. They could 
be a problem here...

HTH,
Kimmo



More information about the R-help mailing list