View source: R/blindDataAnova_AverageWithNoisePerGroup.R
Suitable for ANOVA: The function AverageWithNoisePerCase averages: each original dependent variable value (Y) and random noise that is drawn for each GROUP from a distribution that is based on the mean(Y) and sd(Y).
1 2 3 4 5 6 | blindDataAnova_AverageWithNoisePerGroup(
df_original,
y,
predictors,
update_labels = TRUE
)
|
df_original |
# original dataframe |
y |
# name of dependent variable |
predictors |
# name of predictors, for example c("expert", "conflict)#' |
update_labels |
# if TRUE update labels to BLIND_[abbrevation]_[name] |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.