var-ph-method function

Var method for phase-type distributions

Var method for phase-type distributions

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

Arguments

  • x: An object of class ph .

Returns

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

Examples

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