| intervalo_taxa | R Documentation |
Uses chi-squared quantiles for exact Poisson count limits and divides them by the supplied denominator. Event counts must be whole numbers.
intervalo_taxa(
eventos,
populacao,
multiplicador = 1e+05,
confianca = 0.95,
zero_denominador = c("na", "erro")
)
eventos |
Non-negative event counts. |
populacao |
Non-negative population or person-time denominators. |
multiplicador |
Scale of the rate, default 100,000. |
confianca |
Confidence level between 0 and 1. |
zero_denominador |
How to handle zero denominators: '"na"' returns 'NA', while '"erro"' stops. |
A data frame with event counts, denominators, rates and lower and upper confidence limits.
intervalo_taxa(c(0, 10), c(10000, 10000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.