mat.or.vec

0th

Percentile

Create a Matrix or a Vector

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.

Keywords
array
Usage
mat.or.vec(nr, nc)
Arguments
nr, nc

numbers of rows and columns.

Aliases
  • mat.or.vec
Examples
library(base) # NOT RUN { mat.or.vec(3, 1) mat.or.vec(3, 2) # }
Documentation reproduced from package base, version 3.6.1, License: Part of R 3.6.1

Community examples

Looks like there are no examples yet.