print.IDEMINFER: Print inference results

Description Usage Arguments Examples

View source: R/idem_analysis.R

Description

Print method of class IDEMINFER for treatment effect estimation and hypothesis testing results

Usage

1
2
## S3 method for class 'IDEMINFER'
print(x, delta0 = NULL, delta1 = NULL, ...)

Arguments

x

A class IDEMINFER list generated by imInfer

delta0

Selected treatment arm 0 sensitivity parameters

delta1

Selected treatment arm 1 sensitivity parameters

...

Extra arguments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
rst.abc <- imData(abc, trt="TRT", surv="SURV", outcome=c("Y1","Y2"),
                 y0=NULL, endfml="Y2",
                 trt.label = c("UC+SBT", "SAT+SBT"),
                 cov=c("AGE"), duration=365, bounds=c(0,100));
rst.fit <- imFitModel(rst.abc);
rst.imp <- imImpAll(rst.fit, deltas=c(-0.25,0,0.25),
                    normal=TRUE, chains = 2, iter = 2000, warmup = 1000);
rst.test <- imInfer(rst.imp, n.boot = 100);
print(rst.test, delta0 = 0, delta1  = 0.15)
## End(Not run)

idem documentation built on Jan. 27, 2021, 5:07 p.m.