rgmm: Sampling algorithm for Gaussian mixtures

View source: R/mixture-family.R

rgmmR Documentation

Sampling algorithm for Gaussian mixtures

Description

The arguments can be the component vectors of a mixture model

Usage

rgmm(n, p, mus, sigmas)

Arguments

n

number of variates to simulate

p

the probability vector for component chances

mus

the vector of component means

sigmas

the vector of volatilities.

Value

vector


shill1729/findistr documentation built on May 20, 2024, 9:43 a.m.