Description Usage Arguments Value
Sometimes a comma-separated string field needs to be parsed to a numeric vector.
1 | parse_numeric(opt, varname, val_for_na = NA, length = 1)
|
opt |
A list containing option values, as per parse_args() |
varname |
Variable name to check |
val_for_na |
Value to replicate to specified length in the case of NA |
length |
The length of vector we should obtain |
Numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.