View source: R/util_map_by_largest_prefix.R
util_map_by_largest_prefix | R Documentation |
Map based on largest common prefix
util_map_by_largest_prefix(
needle,
haystack,
split_char = "_",
remove_var_suffix = TRUE
)
needle |
character |
haystack |
character items to find the entry sharing the largest
prefix with |
split_char |
character |
remove_var_suffix |
logical |
character(1)
with the fitting function name or NA_character_
Other mapping:
util_map_all()
,
util_map_labels()
,
util_recode()
## Not run: # internal function
util_map_by_largest_prefix(
"acc_distributions_loc_ecdf_observer_time",
names(dataquieR:::.manual$titles)
)
util_map_by_largest_prefix(
"acc_distributions_loc_observer_time",
names(dataquieR:::.manual$titles)
)
util_map_by_largest_prefix(
"acc_distributions_loc_ecdf",
names(dataquieR:::.manual$titles)
)
util_map_by_largest_prefix(
"acc_distributions_loc",
names(dataquieR:::.manual$titles)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.