splice: Splice new animations into an existing animation

Description Usage Arguments Value Author(s)

View source: R/operate.R

Description

The purpose of this function is to be able to insert an animation into an existing container animation (i.e. a sequence or a track).

Usage

1
splice(x, values, after = NULL, at = NULL)

Arguments

x

An animation object.

values

An animation object to splice into x.

after

The index after which values will be spliced into x. Causes a sequence animation to be created.

at

The index at which to add values into x. Causes a track animation to be created.

Value

An animation object. Either a sequence animation (vec) or a track animation (trac).

Author(s)

Paul Murrell.


pmur002/animaker documentation built on May 25, 2019, 10:20 a.m.