mZeros {implicitExpansion} | R Documentation |
Array Creation
Description
Convenience functions that create an array full of identical entries.
Usage
mZeros(...)
mOnes(...)
mTRUE(...)
mFALSE(...)
mNULL(...)
Arguments
... |
Numbers or numeric vectors, passed to |
Value
The result of array(XXX, c(...))
, where XXX is 0
, 1
, TRUE
, FALSE
, or list()
, respectively.
Examples
mZeros(2, 3)
mOnes(c(1, 2, 3))
mTRUE(c(1, 3), 2)
mFALSE(5)
[Package implicitExpansion version 0.1.0 Index]