forestplot: Construct a forestplot from a 'anoint' object

Description Usage Arguments Details Value Author(s) Examples

Description

Constructs a forestplot displaying the treatment effect within subgroups for each set of specified categorical variables. Provides a visual comparison of subgroup treatment effect to overall treatment effect, without adjustment for confounding factors or multiplicity.

Includes unadjusted p-values for each subgroup's treatment-covariate interaction test for glm or Cox regression models.

Usage

1
forest(object,terms=NULL,x.axis=NULL,labels=NULL,fun=exp,...)

Arguments

object

object of anoint class

terms

numeric index indicating which terms in prognostic model to include in plot

x.axis

Points for tick marks of the bottom axis

labels

Matrix of labels of the same rows as onebyone, columns printed from left to right

fun

functional transformation applied to treatment effects and confidence intervals

...

additional arguments passed to foresplot (see details)

Details

Additional arguments that can be specified include:

pch.size

one number of a vector of two elements indicating the (min, max) for the relative plotting symbols. These reflect the relative precision of the symbol estimates

x.axis

Points for tick marks of the bottom axis

header

Vector of names for the columns of labels

main

String of the title of plot

If no values are specifed for the x.axis, eight values over the range of the CIs is used.

If no values are specified for labels, the row names are used.

Value

A labeled forestplot of subgroup treatment effects.

Author(s)

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(simsolvd)

obj <- anoint(Surv(ttodthorchfhosp, censor==0)~(nyha+cardratio+current)*trt,data=simsolvd,
       		       family="coxph")

forest(obj)

grid.newpage()

forest(obj,x.axis=seq(0.7,1.5,by=.2))

anoint documentation built on May 2, 2019, 3:26 p.m.

Related to forestplot in anoint...