| borg_certificate | R Documentation |
Generate a structured validation certificate documenting the BORG analysis for reproducibility and audit trails.
borg_certificate(diagnosis, data, comparison = NULL, cv = NULL)
diagnosis |
A |
data |
The data frame that was analyzed. |
comparison |
Optional. A |
cv |
Optional. A |
A borg_certificate object containing:
meta: Package version, R version, timestamp
data: Data characteristics and hash
diagnosis: Dependency type, severity, recommended CV
cv_strategy: CV type and fold count
inflation: Theoretical and empirical estimates
borg_export for writing certificates to file.
set.seed(42)
data <- data.frame(
x = runif(100, 0, 100),
y = runif(100, 0, 100),
response = rnorm(100)
)
diagnosis <- borg_diagnose(data, coords = c("x", "y"), target = "response",
verbose = FALSE)
cert <- borg_certificate(diagnosis, data)
print(cert)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.