formLongFixed

a list of formulae for the fixed effects component of each longitudinal outcome. The left handhand side defines the response, and the righthand side specifies the fixed effect terms.

formLongRandom

a list of onesided formulae specifying the model for the random effects effects of each longitudinal outcome.

formSurv

a formula specifying the proportional hazards regression model (not including the latent association structure).

data

a list of data.frame objects for each longitudinal outcome in which to interpret the variables named in the formLongFixed and formLongRandom. The list structure enables one to include multiple longitudinal outcomes with different measurement protocols. If the multiple longitudinal outcomes are measured at the same time points for each patient (i.e. t_{
ijk
}=t_{
ij
}∀k), then a single data.frame object can be given instead of a list. It is assumed that each data frame is in long format.

survData

(optional) a data.frame in which to interpret the variables named in the formSurv. If survData is not given, then mjoint() looks for the timetoevent data in data.

timeVar

a character string indicating the time variable in the linear mixed effects model.

inits

(optional) a list of initial values for some or all of the parameters estimated in the model.

control

(optional) a list of control parameters. These allow for the control of ε_{0}, ε_{1}, and ε_{2} in (7) and (8); the choice of N, δ, and convergence criteria; the maximum number of MCEM iterations, and the minimum number of MCEM iterations during burnin. Additionally, the control argument gammaOpt can be used to specify whether a onestep NewtonRaphson (=~NR~) or GaussNewtonlike (=~GN~) update should be used for the Mstep update of γ.
