R/coef.summary.jointModel.R

coef.summary.jointModel <-
function (object, ...) {
    if (!inherits(object, "summary.jointModel"))
        stop("Use only with 'summary.jointModel' objects.\n")
    coefsY <- object$'CoefTable-Long'
    coefsT <- object$'CoefTable-Event'
    list("Longitudinal" = coefsY, "Event" = coefsT)
}
drizopoulos/JM documentation built on July 4, 2024, 1:46 a.m.