nlme.extract | R Documentation |
Given an nlme object, extract all available information for further processing. In addition parse the information into a ready-to-use parameter estimate table. Furthermore, when method is set to samples, it will create samples to be used for a VPC (see nlme.vpc
).
## S3 method for class 'extract'
nlme(
obj,
method = "components",
newdata = NULL,
sample = FALSE,
digits = 3,
digits.CV = 0
)
obj |
an nlme object |
method |
can be either components (extracting function) or samples (for VPC) |
newdata |
a new data set with at the minimum the data items (independent, dependent variables, covariates, and grouping variables) required to build the nlme object. |
sample |
logical (default is FALSE) indicating whether to sample or not |
digits |
number of significant digits for parameter estimate table |
digits.CV |
number of significant digits for coefficient of variation in the parameter estimate table |
list with extracted nlme object information, model summary, model parameter table, or, when method = "samples", a matrix with predictions for data.frame getData(obj)
or newdata
.
nlme.run
, nlme.diag
, nlme.vpc
, nlme.simPars
, nlme.getFixPars
, nlme.getRanPars
fm1 <- nlme::nlme(height ~ SSasymp(age, Asym, R0, lrc),
data = Loblolly,
fixed = Asym + R0 + lrc ~ 1,
random = Asym ~ 1,
start = c(Asym = 103, R0 = -8.5, lrc = -3.3))
fm1.out = nlme.extract(fm1)
fm1.out
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.