get_prediction: Function to get predictions according to a fitted model

Description Usage Arguments Value Examples

Description

Function to get predictions according to a fitted model

Usage

1
get_prediction(model, newdata, type)

Arguments

model

a model from the train_mod function

newdata

the dtibble/ataframe with predictors

type

"raw" or "prob". see ?predict.train

Value

a tibble with the data and the corresponding predictions

Examples

1
#find an example

BenjaminLouis/verifmesures documentation built on May 23, 2019, 6:01 p.m.