Group_Comparison_Paired {GroupComparisons} | R Documentation |
Paired Parametric/Non-Parametric Group Comparisons
Description
Receives two vectors, computes appropriate function for paired group comparison (t-test, Mann-Whitney), and reports the findings (mean/median, standard deviation, test statistic, p-value, effect size) in APA format (Field, A. (2013). Discovering statistics using IBM SPSS statistics. New York, NY: SAGE.).
Usage
Group_Comparison_Paired(vec1, vec2)
Arguments
vec1 |
A vector of numbers |
vec2 |
A vector of numbers |
Value
This function returns a sentence summarizing the findings and reporting them in APA format (effect size included)
Examples
dt <- mtcars
vector1 <- dt$mpg
vector2 <- dt$hp
Group_Test <- Group_Comparison_Paired(vector1, vector2)
Group_Test
[Package GroupComparisons version 0.1.0 Index]