Learn R Programming

anoint (version 1.5)

uim: 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,...)

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).

Arguments

object

object of class anoint

...

other arguments passed to glm or coxph

Author

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

See Also

glm,coxph,anoint

Examples

Run this code
data(simsolvd)

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

fit <- uim(obj)

fit 

summary(fit$fit)

Run the code above in your browser using DataLab