View source: R/blindDataTtest_ScrambleGroups.R
This function re-assigns at random the factor levels for each predictor.
1 | blindDataTtest_ScrambleGroups(df_original, y, predictor, update_labels = TRUE)
|
df_original |
# original dataframe |
y |
# name of dependent variable |
predictor |
# name of predictor, for example: "expert" |
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.