powered by
Convenience functions that create an array full of identical entries.
mZeros(...)mOnes(...)mTRUE(...)mFALSE(...)mNULL(...)
mOnes(...)
mTRUE(...)
mFALSE(...)
mNULL(...)
The result of array(XXX, c(...)), where XXX is 0, 1, TRUE, FALSE, or list(), respectively.
array(XXX, c(...))
0
1
TRUE
FALSE
list()
Numbers or numeric vectors, passed to c() and then used as dim argument in a call to array().
c()
dim
array()
mZeros(2, 3) mOnes(c(1, 2, 3)) mTRUE(c(1, 3), 2) mFALSE(5)
Run the code above in your browser using DataLab