bzGetSubgrpRaw | R Documentation |
Compute subgroup treatment effect estimation and variance from subject level data.
bzGetSubgrpRaw(
data.all,
var.resp,
var.trt,
var.cov,
var.censor,
resptype = c("continuous", "binary", "survival")
)
data.all |
subject level dataset |
var.resp |
column name in |
var.trt |
column name in |
var.cov |
array of column names in |
var.censor |
column name in |
resptype |
type of response. The options are |
A dataframe with treatment effect estimation and variance for each subgroup
## Not run:
var.cov <- c("sodium", "lvef", "any.vasodilator.use");
var.resp <- "y";
var.trt <- "trt";
var.censor <- "censor";
resptype <- "survival";
subgrp.effect <- bzGetSubgrpRaw(solvd.sub,
var.resp = var.resp,
var.trt = var.trt,
var.cov = var.cov,
var.censor = var.censor,
resptype = resptype);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.