add_noise: add noise to a signal

Description Usage Arguments Value See Also Examples

View source: R/generate_signal.R

Description

add noise to a signal with set minimum and maximums

Usage

1
add_noise(x, low = 0, high = 1)

Arguments

x

a tibble from generate_signal

low

lowest noise to add as a numeric, Default: 0

high

highest noise to add as a numeric, Default: 1

Value

a tibble

See Also

mutate

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 generate_signal() %>% add_noise()
 }

## End(Not run)

surple-energy/rsatz documentation built on Feb. 29, 2020, 12:49 a.m.