Error: Error

Description Usage Arguments Value

View source: R/Error.R

Description

This function calculate error rate of a logistic model in the given data.

Usage

1
Error(l, prop_case, beta)

Arguments

l

a matrix containing outcome and markers. Please put outcome in the first column of the matrix, and put markers in the rest columns

prop_case

threshold for decsion rule

beta

coefficients of logistic model

Value

it returns the error rate which is the proportion of falsely classified subjects in the given data.


yi522/SimSAUC documentation built on Dec. 23, 2021, 7:20 p.m.