Description Usage Arguments Value See Also Examples
View source: R/generate_signal.R
add seasonality to a signal of a specific strength, that can be high in summer or high in winter, that is exactly a year long
1 | add_seasonality(x, strength = 5, invert = FALSE)
|
x |
a tibble from |
strength |
the strength of the change in a seasonal cycle as a numeric, Default: 5 |
invert |
if the signal should be higher in summer than it is in winter as a booleen, Default: FALSE |
a tibble
1 2 3 4 5 6 | ## Not run:
if(interactive()){
generate_signal() %>% add_seasonality()
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.