Learn R Programming

GROAN (version 1.3.1)

noiseInjector.dummy: 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)

Value

the same passed phenotypes

Arguments

phenotypes

input phenotypes. This object will be returned without checks.

See Also

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

Examples

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

Run the code above in your browser using DataLab