mZeros {implicitExpansion} | R Documentation |
Convenience functions that create an array full of identical entries.
mZeros(...)
mOnes(...)
mTRUE(...)
mFALSE(...)
mNULL(...)
... |
Numbers or numeric vectors, passed to |
The result of array(XXX, c(...))
, where XXX is 0
, 1
, TRUE
, FALSE
, or list()
, respectively.
mZeros(2, 3)
mOnes(c(1, 2, 3))
mTRUE(c(1, 3), 2)
mFALSE(5)