MRPPObj-class: Class '"MRPPObj"'

Description Objects from the Class Slots Methods See Also Examples

Description

The MRPPObj class holds model specification and output from the Multiresponse permutation procedure. The summary.MRPPObj class represents the summary of these objects.

Objects from the Class

Objects can be created by calls of the form new("MRPPObj", ...) or, more commonly, via the mrpp function.

Slots

NumObs:

The total number of observations in the original data set including those in the excess group.

NumVars:

The number of response variables used in the multiresponse sequence procedure.

DistExp:

The exponent used in distance calculations.

MaxDist:

The maximum distance used in the analysis interobject distances greater than this value are replaced with this value.

CForm:

The value of the group weighting option that was used in the analysis. See mrpp for more details.

Hotelling:

A logical indicating Hotelling's variance/covariance standardization of the multiple dependent variables.

Commens:

A logical value indicating whether multivariable commensuration was performed.

NumGrps:

The number of groups in the input data.

Interval:

The number of units in the circular measure if a circular analysis was performed.

GpSizes:

A vector of length NumGrps specifying group sizes.

NumPerm:

The number of permutations used.

DoResamp:

A logical value indicating whether a resample test was performed.

inputData:

A data.frame used for the analysis. The first column is the group (if supplied) and the second is the variable for which the analysis was performed.

AvgDist:

A vector of average intragroup distances. If groups are clustered these distances will be small compared to cases where the group members are spread out.

StandTestStat:

The standardized test statistic from the analysis

ObsDelta:

The observed test statistic. This is the average of the observed intragroup distances weighted by relative group size.

ExpectDelta:

The expected value of the test statistic under the null hypothesis. If number.perms was specified this is calculated using Monte Carlo resampling by randomly reassigning group labels otherwise an approximation is calculated using a Pearson III distribution.

DeltaVar:

If the Pearson III approximation was used this is the variance in Delta.

DeltaSkew:

If the Pearson III approximation was used this is the skew in Delta.

P_value:

The probability of a smaller or equal delta under the null hypothesis.

YHot:

If Hotelling commensuration was specified this is the variance/covariance matrix.

d_ExcessVal:

The excess value used in the analysis.

l_HasExcess:

A logical indicator of whether an excess group was used.

da_GpVals:

A vector of group labels used internally in Fortran.

da_GroupV:

A vector with group labels used in Fortran for each observation.

Call:

The original function call.

group.names:

The names of the groups used in the analysis.

SaveTest:

A logical indicating whether to return Monte Carlo resampled test statistic values.

PermVals:

A vector containing the observed test statistic followed by the permuted values of Delta under the null hypothesis.

CommAvgDist:

If commensuration was applied this is a vector of commensurated distances.

Methods

print

signature(x = "MRPPObj"): Prints a terse summary of the MRPP test.

pvalue

signature(x = "MRPPObj"): Extracts the Pearson type III or Monte Carlo resample p-value depending on the function specificatoin.

ResampVals

signature(x = "MRPPObj"): Extracts the Monte Carlo resampled test statistic values.

show

signature(object = "MRPPObj"): Same as print.

summary

signature(object = "MRPPObj"): Prints a detailed summary of the MRPP test.

See Also

mrpp, EMRPPObj

Examples

1
2
3
set.seed(3)
out <- mrpp(c(distance,elev),sex,data = bgrouse)
summary(out)

Blossom documentation built on May 29, 2017, 10:55 p.m.