View source: R/058-process-preflight-governance-0-8.R
| audit_process_anomalies | R Documentation |
Computes a regularized Mahalanobis distance over selected person-level process metrics. Flags indicate review needs only; they are not cheating, identity, diagnosis, or intent classifications.
audit_process_anomalies(
data,
person = "person_id",
metrics = NULL,
alpha = 0.975,
aggregate = TRUE,
ridge = 1e-06
)
data |
Data frame. |
person |
Person identifier column. |
metrics |
Numeric process metrics. If omitted, usable numeric columns are selected. |
alpha |
Chi-square review quantile. |
aggregate |
If TRUE, aggregate metrics to person level before auditing. |
ridge |
Diagonal covariance regularization. |
An object of class "eye_process_anomaly_audit", stored as a named list, with components "table", "metrics", "alpha", "threshold", "center", "covariance", "caveat". It contains multivariate process/data-quality anomalies and associated metadata or diagnostics needed to interpret the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.