This function allows you to increment a variable by 1, or a specified value. If the variable name does not exist, the function creates it and sets the value to one.
1 | i(x, v = 1, envir = parent.frame())
|
x |
The variable name you want to increment. |
v |
Value to increment x by. Does not necesssarily need to be an integer. Default = 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.