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 Aug. 10, 2022, 1:51 a.m.