Description Usage Arguments Value
Assign Assessment Status This function requires a very specific data frame and is only written as a function to enable unit testing.
1 | assign_assess_hier(.data, .col, .type, .assign_unassessed)
|
.data |
a dataframe |
.col |
a column name of .data that should be updated with the hierarchy represented as an ordered factor. |
.type |
a single charcter string indicating the type of hierarchy to assign .col. |
.na_to_unassessed |
a logical indicating if NA values in .col should be represented as "Unassessed". |
A data frame where .col has been updated to an ordered factor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.