add_transformation: Add Matrix Transformation

Description Usage Arguments Value

View source: R/add_transformation.R

Description

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

Usage

1
2
add_transformation(from = matrix(c(1, 0, 0, 1), nrow = 2), m,
  seq_fun = animatrixr::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, 'animatrixr::seq_matrix_l'

n_frames

Number of frames to create explicitly, defaults to 20.

Value

List of matrices.


brshallo/animatrixr documentation built on Dec. 18, 2020, 12:30 a.m.