View source: R/apply_topline_multiselect.R
topline_caption_multiselect | R Documentation |
This function is a helper for generating a list of captions given a patterns
vector and
a parent
vector. The output of this function can then be passed to apply_topline_multiselect()
.
topline_caption_multiselect(patterns, parent)
patterns |
A character vector of "prefixes" for selecting columns in |
parent |
A logical vector of booleans indicating whether |
A list of character vectors that can be passed to apply_topline_multiselect()
as its caption
argument.
# Vector of patterns and parent patterns <- c("prefix_1", "predix_2", ...) parents <- c(TRUE, FALSE, ...) # Captions list captions <- topline_caption_multiselect(patterns, parents)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.