Open algkuba opened 7 years ago
G'day mate, I've had a quick look at your R code and I can't quite figure the problem. Except to say that the objects 'time', 'a', 'b', 'c' on lines 412 - 419 don't exist in memory before you call your models. I'm not a statistician, so I don't really know what you're trying to do with your models, but I would start looking and what those objects are meant to be. Apologies for the shortness of my reply, I'm on vacation at the moment. You can try dropping into HackyHour (should be on from 2 - 4 in the Ground Floor of Science Place each Monday) for assistance in person from my colleagues Daniel and Stephen.
Hi Collin,
Thanks for getting back to me. Appreciate it. The a,b,c part is part of a function in R. It creates a log equation off of the data but isn't recognizing the data as numeric. I will stop by hacky hour today though. Cheers!
Alyson
On Aug 14, 2017, at 7:24 AM, collinstorlie notifications@github.com<mailto:notifications@github.com> wrote:
G'day mate, I've had a quick look at your R code and I can't quite figure the problem. Except to say that the objects 'time', 'a', 'b', 'c' on lines 412 - 419 don't exist in memory before you call your models. I'm not a statistician, so I don't really know what you're trying to do with your models, but I would start looking and what those objects are meant to be. Apologies for the shortness of my reply, I'm on vacation at the moment. You can try dropping into HackyHour (should be on from 2 - 4 in the Ground Floor of Science Place each Monday) for assistance in person from my colleagues Daniel and Stephen.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jcu-eresearch-hackyhour/JCUHackyHour/issues/7#issuecomment-322068461, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ade46VF9I4dyKKL4CzyvCoUsn3i3Nmryks5sX2mUgaJpZM4O0J_Z.
Hi,
I'm a PhD student and I am stuck on a part of my R code. I am trying to run a self-starting nls logistic model of some data, but it keeps giving me this error: "Error in as.numeric(x) : cannot coerce type 'closure' to vector of type 'double' ". When I import the data it is numeric and I run the class/mode and it returns numeric. I think there's some silly issue here that I'm not seeing. Attached is the code and data. The error begins at line 412 (section called models).
Juvenile growth all data horizontal.xlsx
Growth R Code TXT.txt
Thanks!