watson.two.test.rand: Permutation test for common distribution between two samples

Description Usage Arguments Value See Also Examples

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

Description

Extension of watson.two.test, using permutation to obtain the p-value.

Usage

1
watson.two.test.rand(data1, data2, NR = 9999, show.progress = T)

Arguments

data1

First vector of angles to be tested.

data2

Second vector of angles to be tested.

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

List containing the observed value of the test statistic and the p-value.

See Also

watson.two.test

Examples

1
cd.res <- watson.two.test.rand(list(q.4.a, q.4.b))

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