PerformPermutationTest: Performs a permutation test

Description Arguments Value Author(s)

Description

Receives a dataset with a response column, containing the measure to be tested It is expected for the dataset to contain one measure and group assignment per observation

This function should also receive a character vector that identifies the name of the control group, as well as a vector of strings containing the names of the treatment groups to compare against the control The Name of the column containing the measure to be tested should also be provided

Each individual permutation test is performed via the permTS function, from the perm package

Returns all p-values and statistics for each comparison to control

Arguments

dataset

The dataset containing one observation per row

testGroups

A character vector containing the names of the treatement groups

controlGroup

The name which identifies the control group in the dataset

responseColumn

The name of the column that contains the measure to be tested

groupColumn

The name of the column that contains the group identification

...

Additional arguments to pass on to permTS function

Value

A dataframe containing p-values and statistics for each comparion to control

Author(s)

João Monteiro


rvladimiro/dafR documentation built on June 26, 2019, 4:37 a.m.