View source: R/utils-validation.R
| expand_param | R Documentation |
Expands a parameter to length n. Only accepts length 1 or length n. Throws error for any other length (no silent recycling).
expand_param(x, n, name = "parameter")
x |
Value to expand. |
n |
Target length. |
name |
Parameter name for error message. |
Vector of length n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.