clean_data: Function to extracts erotic trials

Description Usage Arguments Value Examples

Description

This function takes the raw data which contains all the trials (see read_data), and excludes non-erotic trials, and trials with missing trial numbers.

Usage

1
clean_data(raw_data)

Arguments

raw_data

dataframe, df containing all trials

Value

The output is the processed dataframe, that can be analyzed with the analysis functions analysis_confirmatory, analysis_robustness, analysis_exploratory.

Examples

1
tpp_processed_data <- clean_data(raw_data = example_m0)

marton-balazs-kovacs/tppr documentation built on Oct. 27, 2021, 3:04 p.m.