Description Usage Arguments Value Note Examples
View source: R/sample_descriptives.R
This function calculates all sample and study characteristics
mentioned in the results section of the manuscript from the
raw data (see read_data
). The function calculates
the descriptive results at the latest passed checkpoint if not
determined otherwise with the 'which_checkpoint' param.
1 | sample_descriptives(raw_data, which_checkpoint = NA_integer_)
|
raw_data |
dataframe, all trials included in the study |
which_checkpoint |
integer, index of the checkpoint to use |
The function returns a list of descriptive results regarding the sample until the latest or prespecified checkpoint.
This function can be used only in which the number of erotic
trials reach the first checkpoint at least. Otherwise please
use the sample_descriptives_current
function
to see a simple study characteristics summary.
1 | sample_descriptives(raw_data = example_m0, which_checkpoint = NA_integer_)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.