as_array: Coerce to an array

Description Usage Arguments Value See Also Examples

View source: R/coercion.R

Description

as_array() coerces x to an array. x will keep any existing dimensions and dimension names.

Usage

1

Arguments

x

An object to coerce to an array.

...

Objects passed on to methods.

Value

An array.

See Also

as_matrix()

Examples

1
as_array(1:10)

rray documentation built on July 23, 2019, 5:04 p.m.