Skip to content

nlme

2 messages · Nathan Leon Pace, MD, MStat, Andrew Perrin

#
In the non linear mixed effects package a groupedData object can be 
created to facilitate modeling.

The gD object includes a formula of the form 'response variable' ~ 
'primary covariate' | 'grouping factor'.

In experiments creating response surfaces there are 2 or more primary 
covariates.

Is there any way to use the groupedData() function to include 2 primary 
covariates?

Thanks
#
If I understand your question correctly, the syntax is:

response ~ primary1 + primary2 + ... + primaryn |
grouping1/grouping2/.../groupingm

where there are n primary covariates and m grouping levels.

ap

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
On Sat, 24 Aug 2002, Nathan Leon Pace, MD, MStat wrote:

            
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._