noiseInjector.dummy {GROAN}R Documentation

Noise Injector dummy function

Description

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.

Usage

noiseInjector.dummy(phenotypes)

Arguments

phenotypes

input phenotypes. This object will be returned without checks.

Value

the same passed phenotypes

See Also

Other noiseInjectors: noiseInjector.norm(), noiseInjector.swapper(), noiseInjector.unif()

Examples

phenos = rnorm(10)
all(phenos == noiseInjector.dummy(phenos)) #TRUE

[Package GROAN version 1.3.1 Index]