Learn R Programming

AdaptGauss (version 1.2.0)

RandomLogGMM: Random Number Generator for Log or Gaussian Mixture Model

Description

Function finds the intersections of Gaussians or LogNormals

Usage

RandomLogGMM(Means,SDs,Weights,IsLogDistribution,TotalNoPoints)

Arguments

Means
vector[1:L] of Means of Gaussians (of GMM)
SDs
vector of standard deviations, estimated Gaussian Kernels, has to be the same length as Means
Weights
vector of relative number of points in Gaussians (prior probabilities), has to be the same length as Means
IsLogDistribution
Optional, ==1 if distribution(i) is a LogNormal, default vector of Zeros of Length L
TotalNoPoints
Optional, number of point for log or GMM generated

Value

  • Returns vector of [1:TotalNoPoints] of genrated points for log oder gaussian mixture model

See Also

QQplotGMM,Chi2testMixtures