compute_residuals.simple {PhylogeneticEM} | R Documentation |
Residuals
Description
compute_residuals.simple
computes the residuals after the fit of the
data in the simple case where the inverse of the variance matrix is given.
Usage
compute_residuals.simple(phylo, Y_data_vec, sim, Sigma_YY_chol_inv, miss)
Arguments
phylo |
Input tree. |
Y_data_vec |
: vector indicating the data at the tips. |
sim |
(list) : result of function |
Sigma_YY_chol_inv |
: invert of the Cholesky variance-covariance matrix of the data. |
Details
This function takes parameters sim and Sigma_YY_inv from
compute_mean_variance.simple
. It uses function extract_simulate_internal
to extract the needed quantities from these objects.
[Package PhylogeneticEM version 1.7.0 Index]