accurate: Accurate rate

Description Usage Arguments Value

View source: R/accurate.R

Description

Calculate accuracy rate for test dataset of a specified target group

Usage

1
accurate(da, tar, sigma, mu1, mu2, esti.mode = 0, cl.mode = 0)

Arguments

da,

test dataset of a specified target group

tar,

true value for the targets

sigma,

estimated covariance matrix for the given target pair by Clime

mu1,

mean values for the first target group

mu2,

mean values for the second target group

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

Value

the accuracy for the specific target group under given pair


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