Learn R Programming

anoint (version 1.4)

obo: Perform one-by-one (OBO) estimates of treatment-covariate interaction

Description

Fits GLM of Cox regression models with a treatment-covariate interaction separately for each covariate specified in anoint object.

Usage

obo(anoint,...)

Arguments

anoint
object of class anoint
...
other arguments passed to glm or coxph

Value

A list of model fits (fit), interaction likelihood-ratio statistics (LRT), and pvalues per interaction test (pvalue).

See Also

anoint

Examples

Run this code
data(simsolvd)

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

fits <- obo(obj)

fits

lapply(fits$fit, summary)

Run the code above in your browser using DataLab