rMixPkbN: Sample from a mixture of Poisson-based distributions in N...

Description Usage Arguments Value

View source: R/rMixPkbN.R

Description

Random number generator providing samples from a mixture of Poisson-based distributions in N dimensions.

Usage

1
rMixPkbN(n, mu, rho, alpha, ...)

Arguments

n

number of observations to be generated.

mu

the location parameter matrix; each row corresponds to a separate component distribution

rho

the concentration parameter vector, with 0 <= rho < 1

alpha

the prior probability vector. If sum(alpha) != 1, then alpha is divided by sum(alpha) and a warning is issued.

...

parameters to be passed to rpkbN

Value

A list with the following elements:

data

A n X 2 matrix of generated values

class

An integer vector with class membership


ahfoss/pkbc documentation built on June 4, 2017, 3:21 a.m.