Returns p-values from repeated-measures (RM) ANOVA for specified vars and grouping (time) variable
Source:R/descriptives.R
ana_fn_rm_aov.RdThis function computes p-values using RM-ANOVA for each variable in vars and grouping (time) variable
specified in group
Arguments
- df
data.frame (in long format)
- vars
Vector of variable names
- group
Name of grouping (time) variable
- id
ID var (unique identifier)
- add_cohen
(logical) Whether to add Cohen's d in addition to p-values
Details
This should be passed as ana_fn when calling get_desc_table() with group and id
arguments to obtain p-values. Alternatively, this is the ana_fn used in wrapper
get_desc_time() when data.frame is not yet in long format.