title | description | keywords | author | ms.author | manager | ms.date | ms.topic | ms.service | ms.assetid | ROBOTS | audience | ms.devlang | ms.reviewer | ms.suite | ms.tgt_pltfrm | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rxPairwiseCrossTab function (revoAnalytics) | Microsoft Docs |
Apply a function 'FUN' to all pairwise combinations of the rows and columns of an xtabs object, stratifying by higher dimensions. |
(revoAnalytics), rxPairwiseCrossTab, print.rxPairwiseCrossTabList, print.rxPairwiseCrossTabTable, htest |
chuckheinzelman |
charlhe |
cgronlun |
07/15/2019 |
reference |
mlserver |
Apply a function 'FUN' to all pairwise combinations of the rows and columns of an xtabs object, stratifying by higher dimensions.
rxPairwiseCrossTab(x, pooled = TRUE, FUN = rxRiskRatio, ...)
## S3 method for class `rxPairwiseCrossTabList':
print (x, ...)
## S3 method for class `rxPairwiseCrossTabTable':
print (x, digits = 3, scientific = FALSE, p.value.digits = 3, ...)
an object of class xtabs, rxCrossTabs, or rxCube for rxPairwiseCrossTab
. An object of class rxPairwiseCrossTabList or rxPairwiseCrossTabTable for the print methods of rxPairwiseCrossTabList and rxPairwiseCrossTabTable objects.
logical value. If TRUE
, the comparison groups are pooled. Otherwise all pairwise comparisons are included.
function that takes a two by two table and returns an object of class htest.
additional arguments.
number of digits to use in printing numeric values.
logical value. If TRUE
, scientific notation is used to prin tnumeric values.
number of digits to use in printing p-values.
a rxPairwiseCrossTabList object.
Microsoft Corporation Microsoft Technical Support
rxChiSquaredTest, rxFisherTest, rxKendallCor, rxMultiTest, rxRiskRatio, rxOddsRatio.
mtcarsDF <- rxFactors(datasets::mtcars, factorInfo = c("gear", "cyl", "vs"),
varsToKeep = c("gear", "cyl", "vs"), sortLevels = TRUE)
xtabObj <- rxCrossTabs(~ gear : cyl : vs, data = mtcarsDF, returnXtabs = TRUE)
rxPairwiseCrossTab(xtabObj, FUN = rxRiskRatio)
rxPairwiseCrossTab(xtabObj, pooled = FALSE, FUN = rxOddsRatio)