Description Usage Value Examples
Create function for keeping track of values
1 |
A function with signature ‘function(x, show = FALSE)’. If
‘show’ is TRUE, the function returns a character vector with all
values (coerced to "character") that it has ‘seen’ so far. If
‘show’ is FALSE and argument ‘x’ was ‘seen’ before, the function
returns "TRUE", otherwise it returns "FALSE". The argument ‘x’
must be a of length 1 and class "character", "numeric", or
"integer". If the argument is of class "numeric" or "integer",
conversion to class "character" is done via
as.character
. The order of element in the list
returned if ‘show’ is TRUE is not guaranteed to be the same order
in which the values were ‘seen’.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.