blindDataTtest_ScrambleOutcome: Suitable for t-test:

Description Usage Arguments

View source: R/blindDataTtest_ScrambleOutcome.R

Description

This function re-assigns at random the factor levels for each predictor.

Usage

1
blindDataTtest_ScrambleOutcome(df_original, y, predictor, update_labels = TRUE)

Arguments

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]


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