| predict_class_reference | R Documentation |
Applies a separate regex reference only to rows whose material is blank.
Populated exact materials are authoritative and are never overwritten, even
when a regex also matches them. A blank row is filled only when all matching
patterns name one material. Distinct-material matches remain blank and are
reported as clashes. Exact/regex overlaps are allowed and reported for QA.
If present, match_identity is used for pattern matching while
spectrum_identity remains the reported exact identity.
predict_class_reference(
metadata,
regex_reference,
return = c("table", "report")
)
metadata |
A data.frame or data.table with |
regex_reference |
A data.frame or data.table with unique |
return |
Return the updated table or an audit containing |
An updated data.table, or an audit list when return = "report".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.