r - nlsList() error Error in object[[3L]][[1L]] : object of type 'symbol' is not subsettable -


i'm trying run series of non-linear regression in r. models i'm trying fit describe progress of viral population through time @ 3 different temperatures. i'm trying use function nlslist() groupeddata object:

surv <- groupeddata(log10n ~ t | temp, data.frame(cbind(rbind(surv4, surv22,surv56),                                                      temp=rep(c(4, 22, 56),                                                               each=8)))) 

where log10n log10 of population, t time , temp temperature. nlstools package i'm trying fit mafart model, used mafart model formula create self starter:

mafart.self <- selfstart(~ log10n0-(t/delta)^p, surv,                      parameters=c('p', 'delta', 'log10n0')) getinitial(log10n~mafart.self, data=surv56) 

when try initial values following error:

error in object[[3l]][[1l]] : object of type 'symbol' not subsettable 

if skip getinitial() step , use nlslist() function follows same error:

> curve.maf <- nlslist(log10n~mafart.self, surv) error in model[[3]][[1]] : object of type 'symbol' not subsettable 

i've tried run regressions separately nls2() results totally disappointing, return same values used starters.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -