lmeBM {covBM} | R Documentation |
lmeBM
Description
This function is a wrapper for lme.formula
that allows
Brownian motion, fractional Brownian motion or integrated Ornstein-Uhlenbeck
components to be included in linear mixed models, with related parameter
estimates and confidence intervals returned in their natural parameterisation.
Usage
lmeBM(fixed, data, random, covariance = NULL, method = c("REML", "ML"),
control = list(), keep.data = TRUE)
Arguments
fixed |
This is as specified for |
data |
This is as specified for |
random |
This is as specified for |
covariance |
An optional |
method |
This is as specified for |
control |
This is as specified for |
keep.data |
This is as specified for |
Value
An object of class "lme" representing the linear mixed effects model fit.
Examples
BMmodel<-lmeBM(sqrtcd4~t, data=cd4, random=~t|newpid, covariance=covBM(form=~t|newpid),
method="ML", control=list(opt="link{nlm}"))