rmna(response, tvcov=NULL, ccov=NULL)
response
|
An object of class, response (created by
restovec), containing the response variable information.
|
tvcov
|
An object of class, tvcov (created by tvctomat),
containing the time-varying covariate information.
|
tccov
|
An object of class, tccov (created by tcctomat),
containing the time-constant covariate information.
|
rmna forms an object of class, repeated, from a response object
and possibly time-varying covariate (tvcov), and time-constant
covariate (tccov) objects, removing any response and covariate values
that have NAs.
Such objects can be printed and plotted.
restovec), and possibly the two
classes of covariate objects (z$ccov and z$tvcov).carma, elliptic, gettvc,
kalcount, kalseries, nbkal,
read.list, restovec, tcctomat,
tvctomat.y <- matrix(rnorm(20),ncol=5) times <- c(1,3,6,10,15) resp <- restovec(y,times=times) x <- c(0,0,1,1) tcc <- tcctomat(x) z <- matrix(rpois(20,5),ncol=5) tvc <- tvctomat(z) rmna(resp, tvcov=tvc, ccov=tcc)