toList: Convert 3-d array to list of matrixes

Description Usage Arguments Value Examples

View source: R/Helper_functions.R

Description

Convert 3-d array to list of matrixes

Usage

1
toList(myArray)

Arguments

myArray

A three-dimensional numeric array.

Value

A list of numeric matrices.

Examples

1
2
M <- array(c(1, 1, 1, 1, 2, 2, 2, 2), c(2, 2, 2))
toList(M)

fditraglia/ivdoctr documentation built on June 12, 2020, 7:08 p.m.