addUnitSeq: Add unit sequence information to different levels of rezrObj.

View source: R/time_seq.R

addUnitSeqR Documentation

Add unit sequence information to different levels of rezrObj.

Description

Add unit sequence information to different levels of rezrObj.

Usage

addUnitSeq(rezrObj, entity, layers = "")

Arguments

rezrObj

The rezrObj object

entity

The name of the Rezonator entity that you will be changing - track, rez, chunk, token, unit, stack, etc.

layers

The layers to which unit sequence information is to be added.

Value

The rezrObj object with unit sequences in the entity desired, plus all levels below. For example, if your entity is 'track', you will see unitSeq information on token and chunk too, but not rez.

Examples

sbc007_withunits = addUnitSeq(sbc007, "track")
head(sbc007_withunits$trackDF$default %>% select(id, text, unitSeqFirst, unitSeqLast))
sbc007_withunits = addUnitSeq(sbc007, "stack")
head(sbc007_withunits$stackDF %>% select(id, unitSeqFirst, unitSeqLast))

johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.