View source: R/absolute_effect_size_utils.R
calculate_absolute_es | R Documentation |
The function gets the absolute effect size for a specific participant. Called from 'test_absolute_es'
calculate_absolute_es(data, idv = "id", dv = "y", iv = "condition", params)
data |
The dataset of a specific participant, arranged according to the independent variable ('iv') |
idv |
The name of the participant identifier column. |
dv |
The dependent variable to apply the summary function (summary_function) to. For multiple dependent variables use a string list with the names of each dependent variable (e.g., c('dv1','dv2')), |
iv |
Labels of an independent variable, indicating the different levels under which the dependent variable (dv) is expected to differ. |
params |
A list of parameters used by the function to calculate absolute effect size. Includes:
|
the function returns the absolute effect size for the given data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.