size: Dimensions of a Matrix/Array

Description Usage Arguments Value See Also Examples

Description

Retrieve the dimensions of a matrix or array.

Usage

1
size(x)

Arguments

x

A matrix, array, or data frame.

Value

The dimensions of the object.

See Also

dim.

Examples

1
2
m <- mat("1, 3, 5; 7, 9, 11")
size(m)

bgreenwell/ramify documentation built on May 12, 2019, 8:20 p.m.