residuals.PhyloEM: Residuals of a fitted object

View source: R/E_step.R

residuals.PhyloEMR Documentation

Residuals of a fitted object

Description

residuals computes the residuals of some parameters.

Usage

## S3 method for class 'PhyloEM'
residuals(object, ...)

Arguments

object

an object of class params_process or PhyloEM. trait, and each column is a tip. The column names are checked against the tip names of the tree. incidence.matrix.full. Can be specified to avoid extra computations.

...

for a PhyloEM object, further arguments to be passed on to params_process.PhyloEM (to choose which parameters to extract from the results, see documentation of this function).

Value

The log likelihood of the data with the provided parameters on the tree.

See Also

params_process, PhyloEM


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