Learn R Programming

matrixdist (version 1.1.9)

var,ph-method: Var method for phase-type distributions

Description

Var method for phase-type distributions

Usage

# S4 method for ph
var(x)

Value

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

Arguments

x

An object of class ph.

Examples

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

Run the code above in your browser using DataLab