View source: R/relativePrecision.R
relativePrecision | R Documentation |
Calculates the relative (%) increase in precision between two competing methods (B vs A). As this metric compares two methods directly, it cannot be used in join_metrics()
.
relativePrecision( estimates_A, estimates_B, get = c("relativePrecision", "relativePrecision_mcse"), na.rm = FALSE )
estimates_A |
A numeric vector containing the estimates from model A. |
estimates_B |
A numeric vector containing the estimates from model B. |
get |
A character vector containing the values returned by the function. |
na.rm |
A logical value indicating whether NA values for |
A named vector containing the estimate and the Monte Carlo standard error for the relative (%) increase in precision of method B versus method A.
relativePrecision(estimates_A=rnorm(n=1000), estimates_B=rnorm(n=1000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.