View source: R/M_Index_from_B_Index.R
M_index_from_B_index | R Documentation |
Calculate the M index from the B index and relevant data.
M_index_from_B_index(B, R, N, t = rep(1/N, N), Samples = 1000)
B |
The B index value estimated from a dataset. |
R |
Total number of RS events in the sample from which B was estimated. |
N |
Total number of individuals in the sample from which B was estimated. |
t |
Assumption of the exposure time vector to be used in the correction term. |
Samples |
Number of samples used to estimate the expected value of the correction term. |
The M index.
set.seed(1)
B = 0.1
R = 50
N = 10
M_index_from_B_index(B, R, N)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.