expand_wildcards {csquares} | R Documentation |
Expand c-squares with wildcards to all matching c-squares
Description
The asterisk (*) can be used as a wildcard, for a compact
notation of csquares. expand_wildcards
will replace all
wild cards with valid combinations of values and expands
the compact notation to an explicit notation without
wildcards.
Check out vignette("wildcards")
for more details.
Usage
expand_wildcards(x, csquares, ...)
Arguments
x |
A |
csquares |
When |
... |
ignored |
Value
Returns a csquares
object with full notation
Author(s)
Pepijn de Vries
Examples
expand_wildcards("1000:*")
expand_wildcards("1000:***")
expand_wildcards("1000:1**")
expand_wildcards("1000:***:*")
expand_wildcards(c("1000:*", "1000:***", "1000:1**", "1000:***:*"))
expand_wildcards(data.frame(csq = "1000:*", foo = "bar"), csquares = "csq")
[Package csquares version 0.0.7 Index]