Learn R Programming

nbc4va (version 1.2)

internalGetCSMFMaxError: Calculate CSMF maximum error

Description

Calculates the CSMF maximum error given a set of observed cases.

Usage

internalGetCSMFMaxError(obs)

Arguments

obs

Character vector of observed causes for each case.

Value

csmfMaxError Numeric value of the CSMF maximum error (see Methods documentation).

See Also

Other internal functions: internalGetCSMFAcc(), internalGetCauseMetrics(), internalGetMetrics(), internalNBC()

Examples

Run this code
# NOT RUN {
library(nbc4va)
obs <- c("HIV", "HIV", "Stroke", "Stroke")
maxerror <- nbc4va::internalGetCSMFMaxError(obs)

# }

Run the code above in your browser using DataLab