Learn R Programming

PhylogeneticEM (version 1.0.0)

enlight: 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)
"enlight"(x)

Arguments

x
an object of class PhyloEM.

Value

Same as entry, lighter.

Methods (by class)

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.

See Also

PhyloEM, imputed_traits.PhyloEM, plot.PhyloEM