combine_cs | R Documentation |
Function for computing mean responses across CSs
combine_cs(cs1, cs2, data, na.rm = FALSE)
cs1 |
The column name(s) of the conditioned responses for the first conditioned stimulus |
cs2 |
The column name(s) of the conditioned responses for the second conditioned stimulus |
data |
A data frame containing all the relevant columns for the analyses |
na.rm |
Whether NAs should be removed, default to |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.