Skip to content

Commit

Permalink
bug: dx_forest doesn't show ORs between 0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
overdodactyl committed Sep 29, 2023
1 parent 2354a0a commit 78a8b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: diagnosticSummary
Title: Diagnostic Summaries
Version: 0.0.1.05
Version: 0.0.1.06
Authors@R:
c(person(given = "Pat",
family = "Johnson",
Expand Down
2 changes: 1 addition & 1 deletion R/dx_forest.R
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ plot_range <- function(limits = NA, breaks = NA, trans = NA,
res <- c(min(pretty), max(pretty))
} else {
high <- ceiling(log10(max_or))
low <- max(c(0, floor(log10(min_or))))
low <- floor(log10(min_or))
res <- 10^c(low, high)
}
}
Expand Down

0 comments on commit 78a8b42

Please sign in to comment.