View source: R/noise_injectors.R
noiseInjector.dummy | R Documentation |
This noise injector does not add any noise. Passed phenotypes
are
simply returned. This function is useful when comparing different
regressors on the same dataset without the effect of extra injected noise.
noiseInjector.dummy(phenotypes)
phenotypes |
input phenotypes. This object will be returned without checks. |
the same passed phenotypes
Other noiseInjectors:
noiseInjector.norm()
,
noiseInjector.swapper()
,
noiseInjector.unif()
phenos = rnorm(10) all(phenos == noiseInjector.dummy(phenos)) #TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.