validateNameStyle | R Documentation |
nameStyle
argument. If any of the element in ...
has length
greater than 1 it must be contained in nameStyle. Note that snake case
notation is used.Validate nameStyle
argument. If any of the element in ...
has length
greater than 1 it must be contained in nameStyle. Note that snake case
notation is used.
validateNameStyle(nameStyle, ..., call = parent.frame())
nameStyle |
A character vector. It must contain all the |
... |
Elements to be included. |
call |
Passed to cli functions. |
invisible nameStyle.
validateNameStyle(
nameStyle = "hi_{cohort_name}",
cohortName = c("cohort1", "cohort2"),
otherVariable = c("only 1 value")
)
## Not run:
validateNameStyle(
nameStyle = "hi_{cohort_name}",
cohortName = c("cohort1", "cohort2"),
otherVariable = c("value1", "value2")
)
## End(Not run)
validateNameStyle(
nameStyle = "{other_variable}_hi_{cohort_name}",
cohortName = c("cohort1", "cohort2"),
otherVariable = c("value1", "value2")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.