Description Usage Arguments Value
View source: R/helper-family.R
Checks across and across_subset input and if at least one of the across_subset values exists filters the data accordingly.
1 | hlpr_subset_across(data, across, across_subset)
|
data |
A data.frame that contains the variable specified in |
across |
Character value. Denotes the discrete variable in the data.frame
across which the variables of interest are to be analyzed or displayed. Valid input
options can be obtained via |
across_subset |
Character vector. The groups of interest that the |
A filtered data.frame, informative messages or an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.