check_matrix: Function to check and modify the input class and type

Description Usage Arguments Value

View source: R/check_matrix.R

Description

Function to check and modify the input class and type

Usage

1

Arguments

mat

data.frame, data.table, tibble. Object to be cast to matrix.

name

character. Name of the object to be cast.

Value

a 3d array if a 3d array is provided, else a matrix.


opera documentation built on Dec. 11, 2021, 9:07 a.m.