View source: R/risk_register.R
| create_risk_register | R Documentation |
Builds a risk register from a user-supplied data.frame of identified risks. Validates required columns and fills defaults.
create_risk_register(risks, config = risk_config_default())
risks |
A data.frame with at minimum columns |
config |
A |
A tibble of class "risk_register" with standardized columns and
computed RPN values.
risks <- data.frame(
risk_id = c("R001", "R002", "R003"),
description = c("Missing SDTM variables", "Unmapped ADaM derivations",
"Inconsistent define.xml"),
category = c("data_quality", "traceability", "documentation"),
probability = c(4, 3, 2),
impact = c(5, 4, 3),
detectability = c(2, 3, 4)
)
rr <- create_risk_register(risks)
rr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.