R: Make the result lighter

enlight {PhylogeneticEM} | R 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`

[Package PhylogeneticEM version 1.1.0 Index]