View source: R/zVarArrayTest.R
zVarArrayTest | R Documentation |
This function performs a permutation test of the homogeneity of group-wise and overall variation arrays from all pair-wise log-ratios in a compositional data set. Groups can be defined by either zero/unobserved data patterns or by a grouping factor in fully observed zero-free data sets.
zVarArrayTest(X, label = 0, groups = NULL, b = 1000)
X |
Compositional data set ( |
label |
Unique label ( |
groups |
Grouping factor in fully observed zero-free data sets ( |
b |
Number of bootstrap resamples used ( |
The permutation test of homogeneity is based on total weighted squared relative errors (SRE) reflecting on divergence
between group-wise variation arrays and overall (see zVarArrayError
and
zVarArray
for more details). Note that for groups including less than two observations SRE is set to NA.
Test p-values for log-ratio variances and means.
zPatterns
, zVarArray
, zVarArrayError
.
data(Water)
zPatterns(Water, label = 0)
zVarArrayTest(Water)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.