| summary.BorgDiagnosis | R Documentation |
Generate a methods section summary for publication from a BorgDiagnosis object.
## S3 method for class 'BorgDiagnosis'
summary(
object,
comparison = NULL,
v = 5,
style = c("apa", "nature", "ecology"),
include_citation = TRUE,
...
)
object |
A |
comparison |
Optional. A |
v |
Integer. Number of CV folds used. Default: 5. |
style |
Character. Citation style: |
include_citation |
Logical. Include BORG package citation. Default: TRUE. |
... |
Additional arguments (currently unused). |
Character string with methods section text (invisibly). Also prints the text to the console.
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)
summary(diagnosis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.