Learn R Programming

Blossom (version 1.3)

mrbp: Multiresponse permutation procedures for randomized blocks

Description

Multiresponse permutation procedures for randomized blocks (MRBP) are used for univariate and multivariate analyses of grouped data in a complete randomized block design.

Usage

mrbp(variables, group, block, data, expon = 1, exact = FALSE, number.perms,
  commens = TRUE, align = TRUE, save.test)

Arguments

Value

mrbp returns an object of class MRBPObj. 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.

Details

The value chosen to align each block is selected to make the block medians all equal to zero. Blossom aligns each block by default. If there is more than one response variable then Blossom adjusts or commensurates variables by their average Euclidean distance by default as in mrbp.

References

Mielke, P.W., Jr., and K.J. Berry. 2001. Permutation methods: A distance function approach. Springer-Verlag.

See Also

pvalue and ResampVals

Examples

Run this code
BiomassExamp <- mrbp(data = mrbp1,commens = FALSE,align = FALSE,save.test = TRUE)
summary(BiomassExamp)
#this just demonstrates another way of specifying the analysis 
BiomassExamp <- mrbp(variables = c(spp1,spp2,spp3),group = trtmt,block = block,data = mrbp1)

Run the code above in your browser using DataLab