View source: R/bystrataCoreFuns.R
mdbystrata | R Documentation |
Estimates difference in means and significance within each formed strata
mdbystrata(yy, arm, treeStrata, termNodes = NULL, cilevel = 0.05,
verbose = 0, alternative = "two.sided")
yy |
Continuous response vector |
arm |
Treatment indicator, 1 = test treatment, 0 = control |
treeStrata |
Vector of strata membership, as defined by ctree strata |
termNodes |
Vector of names for each tree strata formed (e.g., number of strata or covariate definition) |
cilevel |
Confidence level alpha for overall result and confidence intervals |
verbose |
Numeric variable indicating amount of information to print to the terminal (0 = nothing, 1 = notes only, 2 = notes and intermediate output) |
treetype |
String, whether trees input are "preliminary" or "final" |
plot |
Logical, whether to create risk difference forest plots |
fitsummary: summary of mean difference within each strata
table: Summary of amalgamated mean difference estimate, variance, p-value, and cilevelx100% confidence interval assuming sample size weights
weights: Sample size weights used to construct estimate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.