mean,dph-method {matrixdist}R Documentation

Mean method for discrete phase-type distributions

Description

Mean method for discrete phase-type distributions

Usage

## S4 method for signature 'dph'
mean(x)

Arguments

x

An object of class dph.

Value

The raw first moment of the dph object.

Examples

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

[Package matrixdist version 1.1.9 Index]