internalGetCSMFMaxError: Calculate CSMF maximum error

Description Usage Arguments Value See Also Examples

View source: R/nbc4va_internal.R

Description

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

Usage

1

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

1
2
3
library(nbc4va)
obs <- c("HIV", "HIV", "Stroke", "Stroke")
maxerror <- nbc4va:::internalGetCSMFMaxError(obs)

nbc4va documentation built on May 2, 2019, 1:42 p.m.