Description Usage Arguments Value See Also Examples
View source: R/generate_signal.R
make anomaly features of varying number that randomly increase the signal by a specific volume
1 | make_anomalies(x, n = 0.01, strength = 1)
|
x |
a tibble from |
n |
the percentage of the data to insert anomalies into as a numeric <= 1, Default: 0.01 |
strength |
the strength of the anomalies in the signal as a numeric, Default: 1 |
a tibble
1 2 3 4 5 6 | ## Not run:
if(interactive()){
generate_signal() %>% make_anomalies()
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.