View source: R/calc_summary_stats.R
calc_summary_stats_formula | R Documentation |
Given dataframe or list of variables, return table of stats for each randomization block.
calc_summary_stats_formula(
formula,
data = NULL,
siteID = NULL,
add.neyman = FALSE
)
formula |
Formula of form Yobs ~ Z * B (ONLY) |
data |
Dataframe with defined Yobs, Z, and B variables. |
siteID |
If not null, name of siteID that has randomization blocks nested inside. |
add.neyman |
If TRUE, add block-specific SEs using Neyman formula of $s^2_T/n_t + s^2_C/n_c$ as column in output. |
dataframe with summary statistics by block
Other calc_summary_stats:
calc_summary_stats()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.