Learn R Programming

movementsync (version 0.1.5)

splice_time.Duration: Generate spliced timeline using a Duration object

Description

Generate spliced timeline using a Duration object

Usage

# S3 method for Duration
splice_time(
  x,
  expr = NULL,
  make.unique = TRUE,
  tier = NULL,
  comments = NULL,
  ...
)

Value

a Splice object.

Arguments

x

Duration object.

expr

R expression to filter data on.

make.unique

make the segments unique? (Default is TRUE).

tier

exact tier name to filter on.

comments

exact comment to filter on.

...

passed to make.unique()

See Also

Other splicing functions: clip_splice(), get_spliced_view(), is_splice_overlapping(), merge_splice(), splice_time(), splice_time.Metre(), splice_time.OnsetsDifference(), splice_time.View(), splice_time.list(), split.SplicedView()

Examples

Run this code
r <- get_sample_recording()
d <- get_duration_annotation_data(r)
splice_time(d, tier = 'Event', comments = 'tabla solo')

Run the code above in your browser using DataLab