View source: R/array-functions.R
arraySetOnes | R Documentation |
Initalize array with zeros and ones
arraySetOnes(arrayDim, idx)
arrayDim |
Dimension of output array |
idx |
list of vectors specifying location of ones |
array of dimension arrayDim with ones at idx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.