Generically, nnet(a$y ~ a$x, a ...) should be nnet(y ~ x, data=a, ...)
otherwise predict will go looking for a$x, no matter what is in xnew.
But more importantly, nnet() is a _classifier_, so the LHS should be a class,
not a numeric variable.
-pd
> On 1 Sep 2020, at 22:19 , Paul Bernal wrote
I ran a number of analyses in R and saved the workspace, which
resulted in a 2GB .RData file. When I try to read the file back into R
later, it won't read into R and provides the error: "Error: cannot
allocate vector of size 37 Kb"
This error comes after 1 minute of trying to read things in - I
pr
Dear friends,
Hope you are all doing well. I am currently using R version 4.0.2 and
working with the nnet package.
My dataframe consists of three columns, FECHA which is the date, x, which
is a sequence from 1 to 159, and y, which is the number of covid cases (I
am also providing the dput for thi
Patrick, Rui, Murdoch, and Rasmus,
Thank you for your responses. It may not be fair of me to send out that
request just before leaving on vacation for a week. I appreciate you getting
back to me.
All the best,
Mike
-Original Message-
From: Rasmus Liland
Sent: Saturday, August 22
4 matches
Mail list logo