search for: vanfem

Displaying 2 results from an estimated 2 matches for "vanfem".

Did you mean: vaneet
2008 Mar 24
0
Error using augPred with nlme grouped data
Hello all, I am having a problem using augPred after I have created an nlme object. My data is 3933 rows long with no NA's, and is grouped with this function: vanfem<-groupedData(mass~age.years|name, data=av.mex, labels=list(x="Age", y="Mass"), units=list(x="(years)", y="(kg)")) Under the grouping factor "name", this is a character column with 12 levels (i.e. 12 animals that I have collected "mass"...
2008 Feb 11
0
Memory allocation problem with large dataset
...problem. I am using R 2.6.1, and I have had similar problems in S-plus. My dataset is mass growth data from the same 8 animals over 10 years, and is a data.frame with 23,598 rows and 5 columns, and using object.size(data)= 664448 bytes. My first model, using the VonBertalanffy growth function: vanfemfunc<-function(age.years, A, lk, t0) A*((1-exp(-exp(lk)*(age.years-t0)))^3) vanfemfit1<-nlme(model=mass~vanfemfunc(age.years, A, lk, t0), data=vanfem, fixed=A+lk+t0~1, start=c("A"=201.8, "lk"=-1.17, "t0"=-2.71)) This fits fine, and has an object size of 3605660...