zero_subsetting | R Documentation |
Make a vector of R indices compatible with c++ by substracting every element by one.
zero_subsetting(v)
v |
A numeric vector. |
A numeric vector with every element decremented by one.
zero_subsetting(c(1,2,3,4,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.