permutationPvalue: Permutation Between Groups' p-Value

Description Usage Arguments

View source: R/mahalanobisDist.R

Description

We determine the p-value as the proportion of observations, under the null hypothesis, that are at least as extreme as the observed statistic.

Usage

1
permutationPvalue(replication, data, group)

Arguments

replication

is a integer specifying the number of permutations to perform between the groups in order to obtain p-values.

data

is a matrix containing point positions. The matrix has two columns. Each row of the matrix gives one point.

group

is a vector specifying the group each point belongs to. Notice that this method calculates distances of two groups by a time.


mgborges/mahalanobisDist documentation built on May 22, 2019, 8:53 p.m.