inertia {RCM} | R Documentation

## Calculate the log-likelihoods of all possible models

### Description

Calculate the log-likelihoods of all possible models

### Usage

    inertia(rcm)

### Arguments

`rcm` | an object of the RCM class

### Value

A table with inertias, proportion inertia explained and cumulative proportion of inertia explained.

### Examples

    data(Zeller)
    require(phyloseq)
    tmpPhy = prune_taxa(taxa_names(Zeller)[1:100],
    prune_samples(sample_names(Zeller)[1:50], Zeller))
    zellerRCM = RCM(tmpPhy, round = TRUE)
    inertia(zellerRCM)

[Package RCM version 1.8.0 Index]