Skip to content

Commit

Permalink
Update simEGM.R
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChristensen committed Sep 28, 2024
1 parent 5904a31 commit fdc0ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/simEGM.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ simEGM <- function(
) + correlation_adjustment

# Scale correlations with communities
correlation_range <- correlation_range * (2 / communities)
correlation_range <- correlation_range * (3 / communities)

# Ensure zero is minimum
correlation_range <- swiftelse(correlation_range < 0, 0, correlation_range)
Expand Down

0 comments on commit fdc0ac0

Please sign in to comment.