Message-ID: <a68bd6e9-9210-77d4-5d4b-71d8e52934d5@pp.inet.fi>
Date: 2016-06-22T20:01:50Z
From: K. Elo
Subject: Y in Kohonen xyf function
In-Reply-To: <841170186.13161342.1466622055827.JavaMail.yahoo@mail.yahoo.com>
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