Description Usage Arguments Value Author(s)
View source: R/reshape-result.r
Extract predictions from modeling results
1 2 | get_prediction(result, resample, type = "prediction", format = c("long",
"wide"))
|
result |
Modeling result, as returned by |
resample |
Resampling scheme used to create the results. |
type |
The type of prediction to return. The possible types vary between modeling procedure. |
format |
Table format of the output. See http://en.wikipedia.org/wiki/Wide_and_narrow_data for more info. |
A data frame where the id column refers to the observations.
Christofer Bäcklin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.