View source: R/model_eval_funs.R
model_eval_fun | R Documentation |
Only used internally in {LSTbook}
. These were originally arranged as S3
methods, but now the dispatch is done "by hand" in order to eliminate any
exported S3 methods.
model_eval_fun(model, data = NULL, interval = "none", level = 0.95, ...)
model |
A model object of the classes permitted |
data |
Usually, a data table specifying the inputs to the model. But if not specified, the training data will be used. |
interval |
One of "none", "confidence", or "prediction". Not all model types support "prediction" or even "confidence". |
level |
(default 0.95) confidence or prediction level. Must be in |
... |
additional arguments |
a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.