Function for computing mean responses across CSs
combine_cs(cs1, cs2, data, na.rm = FALSE)
The column name(s) of the conditioned responses for the first conditioned stimulus
The column name(s) of the conditioned responses for the second conditioned stimulus
A data frame containing all the relevant columns for the analyses
Whether NAs should be removed, default to FALSE
A tibble with the initial data frame (given by the data
argument)
together with an additional column with the means for the columns defined
in the cs1 and cs2 arguments.