A data filter which replaces some values with zeros or ones

noise_saltpepper(p = 0.05)

## Arguments

p Probability that a feature in an instance is set to zero or one

## Value

Object which can be applied to data with apply_filter

Other noise generators: noise_cauchy, noise_gaussian, noise_ones, noise_zeros