Skip to content

Commit a09541b

Browse files
committed
Fixing bug in original code
1 parent 0b5fcd7 commit a09541b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

5-sim.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ for (i in 1:nsim) {
163163
rdiffnet(
164164
seed.graph = net,
165165
t = 10,
166-
threshold.dist = sample(1:2, 500L, TRUE),
166+
threshold.dist = sample(1:2, 1000L, TRUE),
167167
seed.nodes = "random",
168168
seed.p.adopt = .10,
169169
exposure.args = list(outgoing = FALSE, normalized = FALSE),
@@ -188,7 +188,7 @@ for (i in 1:nsim) {
188188
rdiffnet(
189189
seed.graph = net,
190190
t = 10,
191-
threshold.dist = sample(2:3, 500L, TRUE),
191+
threshold.dist = sample(2:3, 1000L, TRUE),
192192
seed.nodes = "random",
193193
seed.p.adopt = .10,
194194
exposure.args = list(outgoing = FALSE, normalized = FALSE),

files/stats.rda

1.59 KB
Binary file not shown.

0 commit comments

Comments
 (0)