Skip to content

Commit

Permalink
Fixing 'oneSidedP not found' error
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Nov 14, 2023
1 parent 0d75ade commit 8b54223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/RunAnalyses.R
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,7 @@ summarizeResults <- function(referenceTable, outputFolder, mainFileName, interac
ci <- confint(outcomeModel)
if (is.null(coefficient)) {
p <- NA
oneSidedP <- NA
} else {
p <- EmpiricalCalibration::computeTraditionalP(logRr = coefficient,
seLogRr = outcomeModel$outcomeModelTreatmentEstimate$seLogRr)
Expand Down

0 comments on commit 8b54223

Please sign in to comment.