mww.common.dist.rand: Permutation test for common distribution among multiple...

Description Usage Arguments Value Examples

View source: R/Two-sample-tests.R

Description

Permutation-based Mardia-Wheeler-Watson test for common distribution, to be used when any of the samples has less than 10 angles.

Usage

1
mww.common.dist.rand(cs.scores, sample.sizes, NR = 9999, show.progress = T)

Arguments

cs.scores

A list containing sine and cosine rank scores, output from the data of interest by cs.unif.scores.

sample.sizes

A vector defining the sizes of the samples that were used to produce the cs.scores object.

NR

Number of permutation samples to use to estimate the p-value. Default is 9999.

show.progress

Boolean indicating whether or not to display a progress bar as the bootstrap is run.

Value

p-value for the test.

Examples

1
cd.res <- mww.common.dist.rand(list(q.4.a, q.4.b))

ClairBee/AS.circular documentation built on Jan. 24, 2020, 3:57 p.m.