Skip to content

Commit

Permalink
Merge pull request #3 from JTPetter/master
Browse files Browse the repository at this point in the history
Fix for the Log Odds Ratio, Ordinal Gamma and Kendall's Tau not automatically refreshing.
  • Loading branch information
AlexanderLyNL authored Aug 18, 2020
2 parents 841167e + aa4b28f commit 0a6e63c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/contingencytables.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ ContingencyTables <- function(jaspResults, dataset, options, ...) {

# Create table
crossTabLogOdds <- createJaspTable(title = gettext("Log Odds Ratio"))
crossTabLogOdds$dependOn(c("oddsRatio", "oddsRatioConfidenceIntervalInterval", "oddsRatioHypothesis"))
crossTabLogOdds$dependOn(c("oddsRatio", "oddsRatioConfidenceIntervalInterval", "oddsRatioHypothesis", "rowOrder", "columnOrder"))
crossTabLogOdds$showSpecifiedColumnsOnly <- TRUE
crossTabLogOdds$position <- 3

Expand Down Expand Up @@ -288,7 +288,7 @@ ContingencyTables <- function(jaspResults, dataset, options, ...) {

# Create table
crossTabGamma <- createJaspTable(title = gettext("Ordinal Gamma"))
crossTabGamma$dependOn(c("gamma"))
crossTabGamma$dependOn(c("gamma", "rowOrder", "columnOrder"))
crossTabGamma$showSpecifiedColumnsOnly <- TRUE
crossTabGamma$position <- 5

Expand Down Expand Up @@ -322,7 +322,7 @@ ContingencyTables <- function(jaspResults, dataset, options, ...) {

# Create table
crossTabKendallTau <- createJaspTable(title = "Kendall's Tau")
crossTabKendallTau$dependOn(c("kendallsTauB", "VovkSellkeMPR"))
crossTabKendallTau$dependOn(c("kendallsTauB", "VovkSellkeMPR", "rowOrder", "columnOrder"))
crossTabKendallTau$showSpecifiedColumnsOnly <- TRUE
crossTabKendallTau$position <- 6

Expand Down

0 comments on commit 0a6e63c

Please sign in to comment.