com_r2 {mina} | R Documentation

## Calculate the unexplained variance ratio using formula indicated in: Anderson, M.J. 2001. A new method for non-parametric multivariate analysis of variance. Austral Ecology, 26: 32–46.

### Description

Calculate the unexplained variance ratio using formula indicated in: Anderson, M.J. 2001. A new method for non-parametric multivariate analysis of variance. Austral Ecology, 26: 32–46.

### Usage

    com_r2(x, group)

### Arguments

`x` | An object of class 'mina' with 'dis' and 'des' defined.
`group` | The name(s) of column(s) defined as experimental setup group(s).

### Value

Unexplained variance ratio.

### Examples

    data(maize)
    maize <- norm_tab(maize, method = "raref", depth = 5000)
    maize <- fit_tabs(maize)
    maize <- com_dis(maize, method = "bray")
    com_r2(maize, group = c("Compartment", "Soil", "Host_genotype"))

[Package mina version 1.2.0 Index]