dat2sample: dat2sample

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

View source: R/Rutils.R

Description

generates data elements according to SYN2 process (sample along a semi-sphere with additive noise, see reference).

Usage

1
dat2sample(nelts, radius, noise, oldbounds = NULL, newbounds = NULL)

Arguments

nelts

number of elements to generate.

radius

radius of the sphere to sample from.

noise

additive noise magnitude.

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

dat1sample dat3sample

Examples

1
temp <- dat2sample(500, 10, 1)

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

Related to dat2sample in VBmix...