format_y {flowml}R Documentation

format_y

Description

Formats response variable based on the ml-type variable passed by the config file. For regression analyses the response variable will be explicitly transformed to type numeric. For Classification experiments the response variable will be explicitly transformed to a factor. Time-to-event models are to be implemented in the near future.

Usage

format_y(y, ml.type)

Arguments

y

vector of response varibale.

ml.type

type of experiment (chracater).

Value

a transformed version of the response variable y.

Author(s)

Kolja Becker


[Package flowml version 0.1.3 Index]