enlight: Make the result lighter

View source: R/estimateEM.R

enlightR Documentation

Make the result lighter

Description

enlight.PhyloEM takes an object of class PhyloEM, and returns the same object, without saving the quantities that can be easily re-computed using function imputed_traits.PhyloEM.

Usage

enlight(x)

## S3 method for class 'PhyloEM'
enlight(x)

Arguments

x

an object of class PhyloEM.

Details

The resulting object can be much lighter, saving a lot of memory space, but each call to the function imputed_traits.PhyloEM will be longer. As function plot.PhyloEM relies on this function, this makes the plotting also longer. This has the same effect as setting the option "light_result=TRUE" in the call of PhyloEM.

Value

Same as entry, lighter.

Methods (by class)

  • PhyloEM: PhyloEM object

See Also

PhyloEM, imputed_traits.PhyloEM, plot.PhyloEM


PhylogeneticEM documentation built on Aug. 31, 2022, 9:16 a.m.