uim: Perform unrestricted multiple treatment-covariate interaction...

View source: R/uim.R

uimR Documentation

Perform unrestricted multiple treatment-covariate interaction regression

Description

Fits GLM of Cox regression analysis for model with all pairwise interactions between treatment and covariates specified in anoint object.

Usage

uim(object,...)

Arguments

object

object of class anoint

...

other arguments passed to glm or coxph

Value

List of model fit of glm or coxph class (fit), likelihood-ratio test of global test of treatment-covariate interaction (LRT), and LRT p-value for global test of interaction (pvalue).

Author(s)

Stephanie Kovalchik <s.a.kovalchik@gmail.com>

See Also

glm,coxph,anoint

Examples

data(simsolvd)

obj <- anoint(Surv(ttodthorchfhosp,censor==0)~(age+beat+lvef)*trt,
				data = simsolvd, family = "coxph")

fit <- uim(obj)

fit 

summary(fit$fit)

anoint documentation built on Sept. 11, 2024, 8:49 p.m.

Related to uim in anoint...