label_pairs | R Documentation |
This function is the labeller for find_div_pairs()
label_pairs(pairs, n_tags, reverse = FALSE)
pairs |
a vector of parentheses. |
n_tags |
the number of closing tags |
reverse |
if |
a vector of integers indicating the pair of parentheses.
Other div:
clean_div_tags()
,
find_between_tags()
,
find_div_pairs()
,
get_divs()
,
label_div_tags()
,
make_div()
,
make_div_pairs()
,
replace_with_div()
x <- c("(", "(", ")", ")")
pegboard:::label_pairs(x, 2)
x <- c("(", "(", ")", "(", "(", ")", ")", ")")
pegboard:::label_pairs(x, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.