check_pname | R Documentation |
check_pname
is to be used in a slather method to ensure that
newly created variable names don't overlap with existing names.
Throws an warning if check fails, and creates a random string.
check_pname(res, preds, object, newname = NULL)
res |
A data frame or tibble of the newly created variables. |
preds |
An epi_df or tibble containing predictions. |
object |
A layer object passed to |
newname |
A string of variable names if the object doesn't contain a $name element |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.