shift_signal: shift a signal by a margin

Description Usage Arguments Value See Also Examples

View source: R/generate_signal.R

Description

shift signal by a margin up or down to represent magnitude of the value

Usage

1
shift_signal(x, centre_point)

Arguments

x

a tibble from generate_signal

centre_point

the amount to shift up by as a numeric

Value

a tibble

See Also

mutate

Examples

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

## End(Not run)

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