Skip to content

Commit

Permalink
Fixing error in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Nov 13, 2023
1 parent 3560f86 commit 74aa4d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/RunAnalyses.R
Original file line number Diff line number Diff line change
Expand Up @@ -1702,10 +1702,10 @@ summarizeResults <- function(referenceTable, outputFolder, mainFileName, interac
if (is.null(coefficient)) {
p <- NA
} else {
p <- EmpiricalCalibration::computeTraditionalP(logRr = estimate$logRr,
seLogRr = estimate$seLogRr)
oneSidedP <- EmpiricalCalibration::computeTraditionalP(logRr = estimate$logRr,
seLogRr = estimate$seLogRr,
p <- EmpiricalCalibration::computeTraditionalP(logRr = coefficient,
seLogRr = outcomeModel$outcomeModelTreatmentEstimate$seLogRr)
oneSidedP <- EmpiricalCalibration::computeTraditionalP(logRr = coefficient,
seLogRr = outcomeModel$outcomeModelTreatmentEstimate$seLogRr,
twoSided = FALSE,
upper = TRUE)
}
Expand Down

0 comments on commit 74aa4d1

Please sign in to comment.