merge_splice {movementsync} | R Documentation |
Merge splices together using set operations
Description
Merge splices together using set operations
Usage
merge_splice(..., operation)
Arguments
... |
a collection of named |
operation |
either 'union' or 'intersection'. |
Value
a Splice
object.
See Also
Other splicing functions:
clip_splice()
,
get_spliced_view()
,
is_splice_overlapping()
,
splice_time.Duration()
,
splice_time.Metre()
,
splice_time.OnsetsDifference()
,
splice_time.View()
,
splice_time.list()
,
splice_time()
,
split.SplicedView()
Examples
l1 <- list(a1 = c(100, 200), a2 = c(250, 300), a3 = c(400, 550), a4 = c(600, 650))
split1_dfr <- splice_time(l1)
split1_dfr
l2 <- list(b1 = c(150, 275), b2 = c(610, 640))
split2_dfr <- splice_time(l2)
split2_dfr
l3 <- list(c1 = c(275, 325), c2 = c(600, 675), c3 = c(700, 725))
split3_dfr <- splice_time(l3)
split3_dfr
merge_splice(x = split1_dfr, y = split2_dfr, z = split3_dfr, operation = 'union')
merge_splice(x = split1_dfr, y = split2_dfr, z = split3_dfr, operation = 'intersection')
[Package movementsync version 0.1.4 Index]