combine_cs {multifear} | R Documentation |
combine_cs
Description
Function for computing mean responses across CSs
Usage
combine_cs(cs1, cs2, data, na.rm = FALSE)
Arguments
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 |
Value
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.
[Package multifear version 0.1.3 Index]