coverage(variable, group, expon = 1, interv = 0, number.perms, exact = FALSE,
save.test,data)
data.frame
in which variable can be found.coverage
returns an object of class CoverageObj.The functions summary
as well as print
can be used to obtain a summary of the test.Generic accessor functions pvalue
and ResampVals
can be used to obtain the p-value and Monte Carlo resampled test statistic values respectively.
Mielke, P.W. and Y.C. Yao. 1990. On g-sample empirical coverage tests: Exact and simulated null distributions of test statistics with small and moderate sample sizes. Journal Statistical Computation and Simulation 35, 31--39.
Rao, J.S. 1976. Some tests based on arc-lengths for the circle. Sankhya, Series B 38 329--338.
CoverageObj
Out <- coverage(variable = bgrouse$distance,group = bgrouse$sex,number.perms = 10000,
save.test = TRUE)
summary(Out)
Run the code above in your browser using DataLab