Learn R Programming

VBmix (version 0.2.8)

dat3sample: dat3sample

Description

generates data elements according to SYN3 process (sample along a 2D circle with additive noise, and linearly transform to higher dimensional space with further noise addition, see reference).

Usage

dat3sample(nelts, radius, noise, transform, oldbounds = NULL, newbounds = NULL)

Arguments

nelts
number of elements to generate.
radius
radius of the sphere to sample from.
noise
additive noise magnitude.
transform
matrix defining linear transform.
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.

References

runeau, 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

dat1sample dat2sample

Examples

Run this code
temp <- dat3sample(500, 10, 1, generate2Dtransform())

Run the code above in your browser using DataLab