make_list_array: Create list-array

make_list_arrayR Documentation

Create list-array

Description

A convenience function to create a list-array. A list with dimensions like an array.

Usage

make_list_array(...)

Arguments

...

(any number of whole numbers or vectors) If given a whole number scalar, will use that to define the length of that dimension. If given a vector, will use the length of that to determine the length of the dimension and use the values as names.

Value

An n-dimensional list-array.

Examples

make_list_array(1:3, letters[1:3], LETTERS[1:3])

Deleetdk/kirkegaard documentation built on April 22, 2024, 5:22 p.m.