fitted.POUMM: Extract maximum likelihood expected genotypic values at the...

View source: R/POUMM.R

fitted.POUMMR 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.


POUMM documentation built on June 8, 2025, 10:58 a.m.