bzGetSubgrp {beanz} | R Documentation |
Compute subgroup treatment effect estimation and variance for subgroup effect summary data. The estimation and variance are combined if there are multiple record of the same subgroup, defined by the covariates, in the data.
bzGetSubgrp(data.all, var.ey, var.variance, var.cov)
data.all |
subject level dataset |
var.ey |
column name in |
var.variance |
column name in |
var.cov |
array of column names in |
A dataframe with treatment effect estimation and variance for each subgroup