| lirr | R Documentation |
Likelihood interval for relative risk of 2-by-2 contingency table. Likelihood function plot is also shown. For faster calculation speed, plot option '0' is recommended.
exposure.O_event.O |
a numeric vector of exposure (+) and event (+), 'a' of 2-by-2 table; mandatory |
exposure.O_TOTAL |
a numeric vector of exposure (+), 'a' + 'b' of 2-by-2 table; mandatory |
exposure.X_event.O |
a numeric vector of exposure (-) and event (-), 'c' of 2-by-2 table; mandatory |
exposure.X_TOTAL |
a numeric vector of exposure (-), 'c' + 'd' of 2-by-2 table; mandatory |
conf.level |
confidence level for the interval estimation |
eps |
machine epsilon value; default is 1e-08 |
k |
cutoff value for likelihood interval. If not specified, F-test is used. |
demo |
basic demographics of data |
contin_2x2 |
2-by-2 contingency table |
LI |
estimated interval of relative risk by LI |
CI |
estimated interval of relative risk by CI |
plot |
likelihood-related plots |
Kyun-Seop Bae <k@acr.kr>, Minkyu Kim <mkim@acr.kr>
lirr(21, 43, 16, 67)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.