Learn R Programming

rray (version 0.1.0)

as_array: Coerce to an array

Description

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

Usage

as_array(x, ...)

Arguments

x

An object to coerce to an array.

...

Objects passed on to methods.

Value

An array.

See Also

as_matrix()

Examples

Run this code
# NOT RUN {
as_array(1:10)

# }

Run the code above in your browser using DataLab