var,ph-method {matrixdist}R Documentation

Var method for phase-type distributions

Description

Var method for phase-type distributions

Usage

## S4 method for signature 'ph'
var(x)

Arguments

x

An object of class ph.

Value

The variance of the ph (or underlying ph) object.

Examples

set.seed(123)
obj <- ph(structure = "general", dimension = 3)
var(obj)

[Package matrixdist version 1.1.9 Index]