nlmeBM {covBM} | R Documentation |
This function is a wrapper for nlme.formula
that allows
Brownian motion, fractional Brownian motion or integrated Ornstein-Uhlenbeck
components to be included in non-linear mixed models, with related parameter
estimates and confidence intervals returned in their natural parameterisation.
nlmeBM(model, data, fixed, random, start, covariance = NULL,
method = c("ML", "REML"), control = list(), verbose = FALSE)
model |
This is as specified for |
data |
This is as specified for |
fixed |
This is as specified for |
random |
This is as specified for |
start |
This is as specified for |
covariance |
An optional |
method |
This is as specified for |
control |
This is as specified for |
verbose |
This is as specified for |
An object of class "nlme" and inheriting from class "lme" representing the non-linear mixed effects model fit.
data(Milk, package="nlme")
Model_fit<- nlmeBM(protein ~ SSasymp(Time, Asym, R0, lrc), data=Milk,
fixed = Asym + R0 + lrc ~ 1, random = Asym ~ 1|Cow,
covariance=covFracBM(form=~Time|Cow),
start = c(Asym = 3.5, R0 = 4, lrc = -1))