params.2.fname | R Documentation |
This function takes named parameters and converts them into a filename string with specified separators and collapse characters. It excludes any parameters with NULL values.
params.2.fname(..., sep = ".", collapse = "_")
... |
Named parameters to be converted. Default: None. |
sep |
A string to separate parameter names and their values. Default: ".". |
collapse |
A string to separate different parameters in the output string. Default: "_". |
A character string that represents the combined parameter names and values, separated
by the specified sep
and collapse
characters.
params.2.fname(aa = 1, cc = 2, d = NULL, sep = ".", collapse = "_")
# Returns "aa.1_cc.2"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.