[R] Object of type 'closure' not subsettable in GROFIT
murdoch.duncan at gmail.com
Wed May 19 21:47:45 CEST 2010
On 19/05/2010 10:34 AM, trubilar wrote:
> Hello Everyone, I am quite new in R software.
> I am doing a grofit to study growth.
> I have a matrix of time with 10 weeks and 26 individuals ie 10 columns x 26
> and I have a data.frame with 3 columns: 1 for Individual Id (which repeats
> it self, since I have 10 values for each individual correponding to each
> week) the size of the individual (1 or 2) and the Length value.
> I run the grofit and get the following error
> Data error [-1:-3]: object type "closure" not subsettable
> I have no idea what it means or if I am doing something wrong!
You are trying to index a function. Possibly you're using brackets
instead of parentheses when calling it? E.g.
> mean(1:2) # correct
> mean[1:2] # incorrect
Error in mean[1:2] : object of type 'closure' is not subsettable
If that doesn't help enough, please simplify your problem to a
self-contained one of a few lines and post it here. Someone will work
> Could anyone help me?
> Tamara Rubilar
> Lab. Bentos
> Centro Nacional Patagonico
> Puerto Madryn
More information about the R-help