Get.pred: Get predicted class probability

View source: R/biomarker_utils.R

Get.predR Documentation

Get predicted class probability

Description

Get predicted class probability, used in higher function

Usage

Get.pred(x.train, y.train, x.test, y.test, clsMethod = "pls")

Arguments

x.train

Training X

y.train

Training Y

x.test

Test X

y.test

Test Y

clsMethod

Method to predict class, by default it is PLS

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.