pattern_match | R Documentation |
Compares two patterns to determine if they match, with an option to allow flexible dimension order.
pattern_match(pattern1, pattern2, mix_patterns = FALSE)
pattern1 |
A character string representing the first pattern. |
pattern2 |
A character string representing the second pattern. |
mix_patterns |
Logical; if |
Performs case-insensitive pattern matching.
If mix_patterns = TRUE
, allows patterns to match even if dimensions are in different order.
Logical; TRUE
if the patterns match, FALSE
otherwise.
Pattawee Puangchit
get_original_pattern
, process_pattern
, get_data_by_dims
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.