Learn R Programming

matrixdist (version 1.1.9)

rMIPHstar: Simulate a MIPH* random vector

Description

Generates a sample of size n from a MIPH* distribution with parameters alpha, S and R.

Usage

rMIPHstar(n, alpha, S, R, gfun, gfun_par)

Value

The simulated sample.

Arguments

n

Sample size.

alpha

Initial probabilities.

S

Sub-intensity matrix.

R

Reward matrix.

gfun

Vector with transformations names.

gfun_par

List with transformations parameters.