Skip to content

Commit 0007a3d

Browse files
131_make_ocPreds_faster (#134)
Co-authored-by: Daniel Sabanes Bove <danielinteractive@users.noreply.github.com>
1 parent 0cfaf40 commit 0007a3d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

examples/ocPredprobDist.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ result <- ocPredprobDist(
2323
parS = c(5, 25),
2424
weights = 1,
2525
weightsS = 1,
26-
sim = 50,
26+
sim = 15,
2727
wiggle = FALSE,
2828
decision1 = TRUE
2929
)
@@ -57,7 +57,7 @@ result <- ocPredprobDist(
5757
parS = c(5, 25),
5858
weights = 1,
5959
weightsS = 1,
60-
sim = 50,
60+
sim = 15,
6161
nnF = c(20, 30),
6262
wiggle = TRUE,
6363
decision1 = TRUE
@@ -91,7 +91,7 @@ result <- ocPredprobDist(
9191
parS = c(5, 25),
9292
weights = 1,
9393
weightsS = 1,
94-
sim = 50,
94+
sim = 15,
9595
nnF = c(10, 20, 30),
9696
wiggle = TRUE,
9797
decision1 = FALSE
@@ -124,7 +124,7 @@ result <- ocPredprobDist(
124124
parS = c(5, 25),
125125
weights = 1,
126126
weightsS = 1,
127-
sim = 50,
127+
sim = 15,
128128
nnF = c(10, 20, 30),
129129
wiggle = TRUE,
130130
decision1 = FALSE

man/ocPredprobDist.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-ocPredprobDist.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ test_that("ocPredprobDist gives correct result and list when relativeDelta = FAL
8585
parS = c(5, 25),
8686
weights = 1,
8787
weightsS = 1,
88-
sim = 50,
88+
sim = 5,
8989
nnF = c(10, 20, 30),
9090
wiggle = TRUE,
9191
decision1 = FALSE
@@ -112,7 +112,7 @@ test_that("ocPredprobDist gives correct result and list when relativeDelta = TRU
112112
parS = c(5, 25),
113113
weights = 1,
114114
weightsS = 1,
115-
sim = 50,
115+
sim = 5,
116116
nnF = c(10, 20, 30),
117117
wiggle = TRUE,
118118
decision1 = FALSE

0 commit comments

Comments
 (0)