allocVector(length, value=0, ...)
allocMatrix(nrow, ncol, value=0, ...)
allocArray(dim, value=0, ...)
numeric
scalar that all elements will have as value.vector
, matrix
and array
respectively of the same data
type as value
.vector
, matrix
and array
.