addDimension: Add a dimension based on an existing object

Description Usage Arguments Value

View source: R/addDimension.R

Description

Add a dimension based on an existing object

Usage

1
addDimension(x, n, value = NULL)

Arguments

x

Scalar, vector, matrix, or array to extend

n

Length of the dimension to be added

value

Values with which to fill the new object. If no values are provided, defaults to filling repeating the values of x.

Value

An object of one more dimension than x


lcomm/ltools documentation built on May 20, 2019, 11:28 p.m.