Group_Comparison_Unpaired {GroupComparisons}R Documentation

Unpaired Parametric/Non-Parametric Group Comparisons

Description

Receives two vectors, computes best function for unpaired 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_Unpaired(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_Unpaired(vector1, vector2)
Group_Test

[Package GroupComparisons version 0.1.0 Index]