Modelled after the take
function in the plyr
package.
1 |
x |
matrix or array to subset |
along |
dimension to subset along |
indices |
the indices to select |
value |
the values to give |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.