moment-dph-method: Moment method for discrete phase-type distributions

moment,dph-methodR Documentation

Moment method for discrete phase-type distributions

Description

Moment method for discrete phase-type distributions

Usage

## S4 method for signature 'dph'
moment(x, k = 1)

Arguments

x

An object of class dph.

k

A positive integer (moment order).

Value

The factional moment of the dph object.

Examples

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

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.