create_array: Create an array from a list of an indexes

Description Usage Arguments Value Examples

View source: R/create_array.R

Description

Create an array from a list of an indexes

Usage

1
create_array(value = 1, indexes)

Arguments

value

A numeric vector with the value(s) to fill the array

indexes

A named list with the indexes of the array

Value

An array with the dimensions equal to the length of each index.

Examples

1
create_array(value = 1, indexes = list(i = c("a", "b"), j = c("c", "d")))

paulofelipe/emr documentation built on July 23, 2021, 7:31 p.m.