com_r2,mina,ANY-method {mina} | R Documentation

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

### Description

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

### Usage

    ## S4 method for signature 'mina,ANY'
    com_r2(x, group)

    ## S4 method for signature 'mina,character'
    com_r2(x, group)

### Arguments

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

### Value

r2 The variance ratio cannot be explained by given groups.

### Examples

    maize <- new("mina", tab = maize_asv2, des = maize_des2)
    maize <- norm_tab(maize, method = "raref")
    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]