mWidth: m Width

Description Usage Arguments Value See Also Examples

Description

Returns the width of a vector, if it is a non matrix it returns 1 rather than NULL.

Usage

1
mWidth(mat)

Arguments

mat

input matrix

Value

the width of the matrix

See Also

mLength

Examples

1
2
mWidth(c(1,2,3)) # > 1
mWidth(cbind(c(1,2,3),c(4,5,6))) # > 2

alexjgriffith/CCCA documentation built on May 10, 2019, 8:52 a.m.