allocMatrix | R Documentation |
Allocates an empty vector, matrix or array faster than the corresponding function in R.
allocMatrix(nrow, ncol, value = 0, ...)
allocVector(length, value = 0, ...)
allocArray(dim, value = 0, ...)
value |
A |
length , nrow , ncol , dim |
|
Returns a vector
, matrix
and
array
respectively of the same data type as
value
.
Henrik Bengtsson
See also vector
, matrix
and
array
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.