Skip to content

Commit

Permalink
Updating end-of-exposure sims to new function defs
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin_mschuemi authored and Admin_mschuemi committed Oct 31, 2024
1 parent f303548 commit 188a18d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/EndOfExposureSimulations.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ simulateOne <- function(seed, scenario) {
studyPopulation = studyPop
idx1 <- which(estimates$covariateId == 1000)
idx2 <- which(estimates$covariateId == 1001)
p <- computeExposureChangeP(sccsData, studyPop, 1, ignoreExposureStarts = TRUE)
p <- computeExposureChange(sccsData, studyPop, 1, ignoreExposureStarts = TRUE)$p
p
p2 <- computeExposureChangeP(sccsData, studyPop, 1)
p2 <- computeExposureChange(sccsData, studyPop, 1)$p
p2
# plotExposureCentered(studyPop, sccsData, 1)
# plotOutcomeCentered(studyPop, sccsData, 1)
Expand Down

0 comments on commit 188a18d

Please sign in to comment.