infer_notation_for_one_label {RCLabels} | R Documentation |
Infer the notation from one row or column label
Description
This is a non-public helper function for vectorized infer_notation()
.
Usage
infer_notation_for_one_label(
x,
inf_notation = TRUE,
notations = RCLabels::notations_list,
allow_multiple = FALSE,
retain_names = FALSE,
choose_most_specific = TRUE,
must_succeed = TRUE
)
Arguments
x |
A single row or column label. |
inf_notation |
A boolean that tells whether to infer notation for |
notations |
A list of notations from which matches will be inferred
This function might not work as expected if
|
allow_multiple |
A boolean that tells whether multiple notation matches
are allowed.
If |
retain_names |
A boolean that tells whether to retain names on the
outgoing matches.
Default is |
choose_most_specific |
A boolean that indicates if the most-specific notation
will be returned when more than one of |
must_succeed |
A boolean that if |
Value
A single matching notation object (if allow_multiple = FALSE
, the default)
or possibly multiple matching notation objects (if allow_multiple = TRUE
).
If no notations
match x
, NULL
.