[R] nlme model specification (revisit)

From: Tao Shi <shitao_at_hotmail.com>
Date: Fri, 11 Jan 2008 19:35:33 +0000

Hi List,

While using 'nlme' function, I have encountered the similar problem Dr. Stevens and Dr. Graves observed (please see the posts: https://stat.ethz.ch/pipermail/r-help/2006-May/105832.html ). I have tried Dr. Stevens's original example, the problem is still there,

> mod.lis <- nlsList(circumference ~ SSlogis(age, Asymp, xmid, scal),
+ data=Orange )
>
> mod <- nlme(circumference ~ SSlogis(age, Asymp, xmid, scal),

+              data=Orange,
+              fixed = Asymp + xmid + scal ~ 1,
+              start = fixef(mod.lis) )

>

> mod <- nlme(circumference ~ SSlogis(age, Asymp, xmid, scal),

+              data=Orange,
+              fixed = list(Asymp ~ 1, xmid ~ 1, scal ~ 1),
+              start = fixef(mod.lis) )
Error in parse(file, n, text, prompt, srcfile, encoding) : 
        syntax error, unexpected END_OF_INPUT in "~ "

> sessionInfo()

R version 2.5.1 (2007-06-27)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods" "base"

other attached packages:
  lattice nlme
"0.15-11" "3.1-86"

Just wondering if you guys have any answers for this since I didn't see any for the original posts.

Thanks,

...Tao


GLM_CPC_VideoChat_distantfamily_012008



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 11 Jan 2008 - 19:38:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 Jan 2008 - 20:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive