ext2arr: Extend to Array

View source: R/utils.R

ext2arrR Documentation

Extend to Array

Description

Extends a matrix M into array of size 1 x dim(M)[1] x dim(M)[2].

Usage

ext2arr(M)

Arguments

M

a numeric matrix

Value

array of size 1 x dim(M)[1] x dim(M)[2]

Examples

ext2arr(matrix(rnorm(9),3))

TMasak/surfcov documentation built on April 25, 2022, 12:15 a.m.