Description Usage Arguments Value Examples
View source: R/analysis_confirmatory.R
This function calculates the number of trials and the
number of successful trials cumulatively. If raw data
are provided the function drops all the non-erotic
trials (see clean_data).
1 |
df |
dataframe, the input dataframe |
The function returns a dataframe with the number of trials in one column and the number of successful trials in the other column.
1 2 | # Get total number of trials and success cumulatively
cumulative_success_res <- cumulative_success(df = example_m0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.