Skip to Content

mat.or.vec {base}

Create a Matrix or a Vector
Package: 
base
Version: 
R 2.15.3

Description

mat.or.vec creates an nr by nc zero matrix if nc is greater than 1, and a zero vector of length nr if nc equals 1.

Usage

mat.or.vec(nr, nc)

Arguments

nr, nc
numbers of rows and columns.

Examples

Documentation reproduced from R 2.15.3. License: GPL-2.