majorcl: Major rules of classification

Description Usage Arguments Value

View source: R/majorcl.R

Description

Implement major rules to classify an arbitrary observation against all targets

Usage

1
majorcl(tr, shrink.mode, esti.mode, cl.mode = 0, thr = 0, nvar = 75)

Arguments

tr,

trained object by trotu function

shrink.mode,

digits for shrinking method, 0 for Kaul's method, 1 for Jun Li's

esti.mode,

digits for covariance estimating method, 0 for Kaul's method, 1/2/3 for Jun Li's 1st/2nd/3rd method

cl.mode,

digits for classifying rule, 0 for the one in Kaul's software, 1 for the one in Kaul's paper

thr,

threshold for zombie OTU

nvar,

number of OTUs after shrinking

Value

Table of winning targets and its winning times


yewei369/clotu documentation built on Dec. 23, 2021, 7:19 p.m.