Skip to content

Commit 74f50de

Browse files
Emily-PoCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent dd62cf6 commit 74f50de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network_development/2_fit_networks.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ergm_controls <- control.ergm(
4040
## Generates empty network with nodal attributes reflecting pop specs
4141
nw <- generate_init_network(x, seed = this_seed)
4242
## Set deg_main to 0 for preliminary casual network fitting
43-
set.vertex.attribute(nw, "deg_main", rep(0, x$pop$size))
43+
nw <- set.vertex.attribute(nw, "deg_main", rep(0, x$pop$size))
4444

4545
# -----------------------------------------------------------------
4646
# Estimate Networks -----------------------------------------------

0 commit comments

Comments
 (0)