Description Usage Arguments Value Examples
Select a single index randomly from a given vector of indices.
1 | iec.select(candidateModuleIndices)
|
candidateModuleIndices |
A vector of indices, which are candidates for selection. |
The single randomly chosen index from candidateModuleIndices.
1 2 | candidateModuleIndices = sample(1:9, 4)
selectedIndex = iec.select(candidateModuleIndices)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.