get_prediction: Extract predictions from modeling results

Description Usage Arguments Value Author(s)

View source: R/reshape-result.r

Description

Extract predictions from modeling results

Usage

1
2
get_prediction(result, resample, type = "prediction", format = c("long",
  "wide"))

Arguments

result

Modeling result, as returned by evaluate and evaluate.

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.

Value

A data frame where the id column refers to the observations.

Author(s)

Christofer Bäcklin


emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to get_prediction in emil...