View source: R/doseOddsDiseaseRegression.R
| doseOddsDiseaseRegression | R Documentation |
Title calculate OR value by lR
doseOddsDiseaseRegression(mymatrix, referencerow = 1)
mymatrix |
a two dimension matrix |
referencerow |
which disease row as reference |
string with results
mymatrix <- matrix(c(35,82,250,293,196,190,136,71,32,13),nrow=5,byrow=TRUE)
colnames(mymatrix) <- c("Disease","Control")
rownames(mymatrix) <- c("2","9.5","19.5","37","50")
doseOddsDiseaseRegression(mymatrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.