Description Usage Arguments Author(s) Examples
Subtract two SparseSignals.
1 2 | ## S3 method for class 'SparseSignal'
x - y
|
x |
|
y |
Toby Dylan Hocking
1 2 3 4 5 6 7 | ## subtracting two non-overlapping 1-segment signals gives a signal
## with 2 segments.
x <- SparseSignal(1, 2, 5.5)
x - SparseSignal(4, 10, 3.8) # 2 rows.
## subtracting a SparseSignal from itself gives an empty signal.
none <- x - x
str(none)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.