Learn R Programming

POUMM (version 2.1.7)

covHPDFunPOUMM: A vectorized function returning HPD intervals of the expected covariance for a given tree and a fitted POUMM model

Description

A vectorized function returning HPD intervals of the expected covariance for a given tree and a fitted POUMM model

Usage

covHPDFunPOUMM(object, prob = 0.95, corr = FALSE, ...)

Arguments

object

an S3 object of class POUMM

prob

a Numerical between 0 and 1

corr

logical indicating if an expected correlation HPD interval function should be returned.

...

additional parameters passed to summary.POUMM

Value

a function of a numerica matrix x with 3 columns corresponding to tau, tanc and t (see covFunPOUMM). The function reteruns a two-colun matrix with the lower and upper limit of the HPD for each row in the input matrix.