dat1sample: dat1sample

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/Rutils.R

Description

generates data elements according to SYN1 process (sample from a 2D GMM, linearly transformed with additive noise, see reference).

Usage

1
2
dat1sample(nelts, gmm, noise, transform=generate2Dtransform(2), 
	oldbounds = NULL, newbounds = NULL)

Arguments

nelts

number of elements to generate.

gmm

2D GMM to be sampled from.

noise

additive noise magnitude.

transform

matrix defining linear transform. Defaults to I.

oldbounds

optional argument for sample rescaling. If not NULL, transmitted to setDomain as oldspan.

newbounds

optional argument for sample rescaling. If not NULL, transmitted to setDomain as newspan.

Value

matrix of sampled row-elements

Author(s)

Pierrick Bruneau

References

Bruneau, P., Gelgon, M. and Picarougne, F. (2011) _Component-level aggregation of probabilistic PCA mixtures using variational-Bayes_, Tech Report, http://hal.archives-ouvertes.fr/docs/00/56/72/99/PDF/techrep.pdf.

See Also

dat2sample dat3sample

Examples

1

VBmix documentation built on May 30, 2017, 2:34 a.m.

Related to dat1sample in VBmix...