| calcTaronesTest | R Documentation |
calcTaronesTest is ued to test whether the OR in different strata are different
calcTaronesTest(mylist, referencerow = 2)
mylist |
A list of matrix Stratified by a Variable |
referencerow |
Unexposed row |
string with results
mymatrix1 <- matrix(c(4,5,5,103),nrow=2,byrow=TRUE)
colnames(mymatrix1) <- c("Disease","Control")
rownames(mymatrix1) <- c("Exposure","Unexposed")
mymatrix2 <- matrix(c(10,3,5,43),nrow=2,byrow=TRUE)
colnames(mymatrix2) <- c("Disease","Control")
rownames(mymatrix2) <- c("Exposure","Unexposed")
mylist <- list(mymatrix1,mymatrix2)
calcTaronesTest(mylist)
## Not run:
calcTaronesTest(mymatrix1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.