cardioception.reports.group_level_preprocessing#
- cardioception.reports.group_level_preprocessing(results: Union[PathLike, DataFrame], variables: List[str] = ['participant_id', 'Modality'], additional_variables=[], behavioural_indices: bool = True, psychophysical_indices: bool = True, metacognitive_indices: bool = True) DataFrame [source]#
Extrat all relevant indices from large result data frames.
Note
This function concatenate the results from {ref}`cardioception.stats.psychophysics`, {ref}`cardioception.stats.behaviours` and {ref}`cardioception.stats.metacognition`, see the documentation of thoses functions for more details on the indices.
- Parameters
- results
The data frame merging the individual result data frames. Multiple variables / condition can be specifyed using separate columns with the variables argument.
- variables
The variables coding for group / repeated measures. The default is participant_id and Modality.
- additional_variables
Additional variables for group / repeated measures.
- behavioural_indices
Whether to extract the behavioural indices. Defaults to True.
- psychophysical_indices
Whether to extract the psychophysical indices. Defaults to True.
- metacognitive_indices
Whether to extract the metacognitive indices. Defaults to True.
- Returns
See also
cardioception.stats.psychophysics
,cardioception.stats.behaviours
cardioception.stats.metacognition