make_prediction: Function to predict using a model object and return a vector.

Description Usage Arguments Value Author(s) Examples

View source: R/make_prediction.R

Description

Function to predict using a model object and return a vector.

Usage

1

Arguments

model

Model object which can be used with predict.

df

Data frame containing input data which can be used by model, not always needed.

Value

Numeric vector.

Author(s)

Stuart K. Grange

Examples

1
2
3
4
5
6
7
## Not run: 

# Predict using a random forest model
value_predict <- make_prediction(list_random_forest, data_testing_set)


## End(Not run)

skgrange/enlightenr documentation built on May 30, 2019, 1:03 a.m.