R: Residuals of a fitted object

residuals.PhyloEM {PhylogeneticEM} | R 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`

[Package PhylogeneticEM version 1.1.0 Index]