View source: R/beanz_present.R
bzGailSimon | R Documentation |
Gail-Simon qualitative interaction test.
bzGailSimon(effects, sderr, d = 0)
effects |
subgroup treatment effects |
sderr |
standard deviation of the estimated treatment effects |
d |
clinically meaningful difference |
## Not run:
var.cov <- c("sodium", "lvef", "any.vasodilator.use");
var.resp <- "y";
var.trt <- "trt";
var.censor <- "censor";
resptype <- "survival";
subgrp.effect <- bzGetSubgrp(solvd.sub,
var.resp = var.resp,
var.trt = var.trt,
var.cov = var.cov,
var.censor = var.censor,
resptype = resptype);
gs.pval <- bzGailSimon(subgrp.effect$Estimate,
subgrp.effect$Variance);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.