set_targets: Decorate targets extracted from a data.frame

Description Usage Arguments Value

View source: R/setter.R

Description

Decorate targets extracted from a data.frame

Usage

1
set_targets(col_names, id_names, test_data)

Arguments

col_names

'character()'
Column names to extract from the dataframe.

id_names

'character()'
Column used as unique line ids.

test_data

'data.frame()'
A dataframe with vectors as columns from which to fetch the data.

Value

'data.frame()'
Data.frame with id columns, columns "target_type" and "target"


signaux-faibles/MLsegmentr documentation built on Aug. 29, 2019, 2:22 p.m.