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

Description Usage Arguments Value

View source: R/POUMM.R

Description

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

Usage

1
2
## 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 Nov. 16, 2018, 1:17 a.m.