Description Usage Arguments Details Value Examples
View source: R/getProbScalarRR.R
Calculate risks from log RR and log OP (vectorised)
1 |
logrr |
log of relative risk |
logop |
log of odds product |
The log OP is defined as log OP = log[(P(y=1|x=0)/P(y=0|x=0))*(P(y=1|x=1)/P(y=0|x=1))].
a matrix (P(y=1|x=0),P(y=1|x=1)) with two columns
1 2 3 4 5 6 7 8 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.