predict.consensus.type: convert the outcomes of 'predict.consensus' to the one...

View source: R/classifier_model_summary.R

predict.consensus.typeR Documentation

convert the outcomes of predict.consensus to the one equivalent of predict.type

Description

convert the outcomes of predict.consensus to the one equivalent of predict.type

Usage

## S3 method for class 'consensus.type'
predict(cpred)

Arguments

cpred

an outcome of predict.consensus

Value

the last column is added with the multi-class labels (flatted)


skimlab/CCSBUtils documentation built on March 30, 2022, 4:52 a.m.