mrpp(variables, group, data, expon = 1, c.form = 1, hotelling = FALSE,
commens = TRUE, interv = 0, number.perms, exact = FALSE,
has.excess = FALSE, excess.value, max.dist, save.test)
mrpp
returns an object of either class MRPPObj
or EMRPPObj
.
The functions summary
as well as print
can be used to obtain a summary of the test.
Generic accessor functions pvalue
and ResampVals
(for MRPPObj
) can be used to obtain the p-value and Monte Carlo resampled test statistic values respectively.pvalue
, and ResampVals
out <- mrpp(variables = c(distance,elev),group = sex,data = bgrouse,
exact = TRUE)
summary(out)
Run the code above in your browser using DataLab