nlme.simPars | R Documentation |
Draw samples from multivariate normal parameter distribution from an nlme object
## S3 method for class 'simPars'
nlme(paramList, N = 1)
paramList |
output from nlme.FixPars or nlme.RanPars |
N |
sample size of the requested predictions |
Matrix with parameter prediction
nlme.getFixPars
, nlme.getRanPars
, nlme.extract
library(nlme)
fm1 <- 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)
)
nlme.getFixPars(fm1)
nlme.getRanPars(fm1)
nlme.simPars(nlme.getFixPars(fm1), N = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.