prioritize_level {r2dii.match} | R Documentation |
Arrange unique level
values in default order of priority
Description
Arrange unique level
values in default order of priority
Usage
prioritize_level(data)
Arguments
data |
A data frame, commonly the output of |
Value
A character vector of the default level priority per loan.
See Also
Other helpers:
crucial_lbk()
Examples
matched <- tibble::tibble(
level = c(
"intermediate_parent_1",
"direct_loantaker",
"direct_loantaker",
"direct_loantaker",
"ultimate_parent",
"intermediate_parent_2"
)
)
prioritize_level(matched)
[Package r2dii.match version 0.2.1 Index]