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.
clean_data(raw_data)
dataframe, df containing all trials
The output is the processed dataframe, that can be analyzed with
the analysis functions analysis_confirmatory
, analysis_robustness
,
analysis_exploratory
.
# \donttest{
tpp_processed_data <- clean_data(raw_data = example_m0)
# }