Learn R Programming

matrixdist (version 1.1.9)

mean,dph-method: Mean method for discrete phase-type distributions

Description

Mean method for discrete phase-type distributions

Usage

# S4 method for dph
mean(x)

Value

The raw first moment of the dph object.

Arguments

x

An object of class dph.

Examples

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

Run the code above in your browser using DataLab