Description Usage Arguments Value Examples
Performs McNemar's chi-squared test for symmetry of rows and columns in a two-dimensional contingency table.
1 | mcnemar.test(x, y = NULL, correct = TRUE)
|
x |
FLVector |
y |
FLVector |
correct |
a logical or character indicating whether to apply continuity correction when computing the test statistic. If TRUE,Available methods are EDWARDS(default),YATES. |
A list with class "htest"
1 2 3 4 5 6 | flTable <- FLTable("tblMcNemarMulti", "obsid",whereconditions="datasetID=1")
x <- flTable[,"predicted"]
y <- flTable[,"observed"]
ResulthtestObject <- mcnemar.test(x,y)
ResulthtestObject <- mcnemar.test(x,y,FALSE)
ResulthtestObject <- mcnemar.test(x,y,"YATES")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.