| borg_export | R Documentation |
Write a BORG validation certificate to a YAML or JSON file for machine-readable documentation.
borg_export(diagnosis, data, file, comparison = NULL, cv = NULL)
diagnosis |
A |
data |
The data frame that was analyzed. |
file |
Character. Output file path. Extension determines format (.yaml/.yml for YAML, .json for JSON). |
comparison |
Optional. A |
cv |
Optional. A |
Invisibly returns the certificate object.
borg_certificate for creating certificates.
spatial_data <- data.frame(
x = runif(100), y = runif(100), response = rnorm(100)
)
diagnosis <- borg_diagnose(spatial_data, coords = c("x", "y"), target = "response")
borg_export(diagnosis, spatial_data, file.path(tempdir(), "validation.yaml"))
borg_export(diagnosis, spatial_data, file.path(tempdir(), "validation.json"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.