load_PTF_object: Loads the built object to use for predictions.

Description Usage Arguments Value Author(s) Examples

View source: R/load_PTF_object.R

Description

The function is intended for internal use in euptfFun. The aim is to load the object from the data provided in the package, given a specific target variable ptf number combination. No are made on the consistency of the argument, because this is done in euptfFun. Loaded algorithm provides possibility to use it as a ranger.forest object in the ranger package.

Usage

1

Arguments

x

A string apsted from two strings specifyng the combination ofthe target variable and PTF number. The format is as in "THS_PTF29", i.e. the target and ptf seperated by an underscore.

Value

The loaded object as specified by x.

Author(s)

Tobias KD Weber, tobias.weber@uni-hohenheim.de

Examples

1
2
3
4
## Not run: 
this_object <- load_PTF_object(x = "THS_PTF02"))

## End(Not run)

tkdweber/euptf2 documentation built on Jan. 19, 2021, 4:20 p.m.