fitted.POUMM {POUMM}R Documentation

Extract maximum likelihood expected genotypic values at the tips of a tree, to which a POUMM model has been previously fitted

Description

Extract maximum likelihood expected genotypic values at the tips of a tree, to which a POUMM model has been previously fitted

Usage

## S3 method for class 'POUMM'
fitted(object, vCov = FALSE, ...)

Arguments

object

An object of class POUMM.

vCov

A logical indicating whether a list with the genotypic values and their variance covariance matrix should be returned or only a vector of the genotypic values (default is FALSE).

...

Not used; added for compatibility with generic function fitted.

Value

If vCov == TRUE, a list with elements g - the genotypic values and vCov - the variance-covariance matrix of these values for the specific tree, observed values z and POUMM ML-fit. If vCov == FALSE, only the vector of genotypic values corresponding to the tip-labels in the tree is returned.


[Package POUMM version 2.1.7 Index]