cohens_d | R Documentation |
Computes Cohen's D for each feature. If time and ID are supplied, change between two time points is computed for each subject, and Cohen's d is computed from the changes
cohens_d(object, group = group_col(object), id = NULL, time = NULL)
object |
a MetaboSet object |
group |
character, name of the group column |
id |
character, name of the subject ID column |
time |
character, name of the time column |
data frame with Cohen's d for each feature
d_results <- cohens_d(drop_qcs(example_set))
d_results_time <- cohens_d(drop_qcs(example_set),
time = "Time", id = "Subject_ID"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.