Skip to content

Commit

Permalink
Forgot to save
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Oct 9, 2024
1 parent 4120d50 commit 3bde970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extras/EndOfExposureSimulations.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ writeLines(sprintf("Number of simulation scenarios: %d", length(scenarios)))
# Run simulations ----------------------------------------------------------------------------------
folder <- "e:/SccsEdeSimulations100"

scenario = scenarios[[1]]
scenario = scenarios[[6]]
scenario$censorType

simulateOne <- function(seed, scenario) {
Expand Down 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)
p <- computeExposureChangeP(sccsData, studyPop, 1, ignoreExposureStarts = TRUE)
p
p2 <- computeExposureChangeP(sccsData, studyPop, 1, ignoreExposureStarts = FALSE)
p2 <- computeExposureChangeP(sccsData, studyPop, 1)
p2
# plotExposureCentered(studyPop, sccsData, 1)
# plotOutcomeCentered(studyPop, sccsData, 1)
Expand Down

0 comments on commit 3bde970

Please sign in to comment.