Learn R Programming

matrixdist (version 1.1.9)

mean,ph-method: Mean method for phase-type distributions

Description

Mean method for phase-type distributions

Usage

# S4 method for ph
mean(x)

Value

The raw first moment 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)
mean(obj)

Run the code above in your browser using DataLab