Learn R Programming

matrixdist (version 1.1.9)

var,dph-method: Var method for discrete phase-type distributions

Description

Var method for discrete phase-type distributions

Usage

# S4 method for dph
var(x)

Value

The variance of the dph object.

Arguments

x

An object of class dph.

Examples

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

Run the code above in your browser using DataLab