Learn R Programming

ruta (version 1.2.0)

noise_ones: Filter to add ones noise

Description

A data filter which replaces some values with ones

Usage

noise_ones(p = 0.05)

Value

Object which can be applied to data with \link{apply_filter}

Arguments

p

Probability that a feature in an instance is set to one

See Also

Other noise generators: noise_cauchy(), noise_gaussian(), noise_saltpepper(), noise_zeros()