blindDataAnova_ScrambleOutcome: Suitable for ANOVA: The function "blindDataAnova_CreateNew"...

Description Usage Arguments

View source: R/blindDataAnova_ScrambleOutcome.R

Description

Suitable for ANOVA: The function "blindDataAnova_CreateNew" creates a new dependent variable by re-assigning at random the Y value of one participant to a different participant.

Usage

1
2
3
4
5
6
blindDataAnova_ScrambleOutcome(
  df_original,
  y,
  predictors,
  update_labels = TRUE
)

Arguments

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]


rjbderooij/blindData_Git documentation built on Dec. 20, 2020, 5:17 a.m.