Description Usage Arguments Value Examples
Build conceptual scale based on pattern matching
1 | make_scale_regex(objs, patterns, split)
|
objs |
Vector (usually character or factor). |
patterns |
Character vector of regular expressions. Each attribute of
the resulting context amounts to |
split |
Character. Regular expression used to split |
A binary matrix (formal context).
1 2 3 4 5 6 | # state name modifiers
make_scale_regex(objs = state.name,
patterns = c("^New", "^(North|South|East|West)"))
# letters in state names
make_scale_regex(objs = state.abb, split = "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.