add_transformation: Add Matrix Transformation

View source: R/add_transformation.R

add_transformationR Documentation

Add Matrix Transformation

Description

Creates list of matrices. If list is inputted then concatenates onto list of matrices.

Usage

add_transformation(
  from = matrix(c(1, 0, 0, 1), nrow = 2),
  m,
  seq_fun = seq_matrix_l,
  n_frames = 20
)

Arguments

from

Matrix or list of matrices.

m

Matrix transformation.

seq_fun

The function type for the matrix transformation, seq_matrix_l

n_frames

Number of frames to create explicitly, defaults to 20.

Value

List of matrices.


jtipton25/dasc2594 documentation built on Oct. 7, 2022, 3:46 p.m.