GetFactorEqual: A quick helper function to flip the factors of 0's and 1's

Description Usage Arguments Value Examples

View source: R/Ensembling.R

Description

A quick helper function to flip the factors of 0's and 1's

Usage

1

Arguments

pred

The predictions from the model

Value

The predictions vector but in the correct format

Examples

1
2
# This function is used by GetWeightsFromTestSet It's usage is as follows:
# test.set <- GetFactorEqual(test.set)

orionw/BestModel documentation built on Aug. 17, 2019, 7:29 p.m.