as.network file (ERGM)_Error: 'loops' is 'FALSE', but 'x' contains loops ???

net_1 <- as.network(data_69, bipartite=T, directed=F)
Error: loops is FALSE, but x contains loops.
The following values are affected:
- x[2, 1:2]
- x[3, 1:2]
- x[5, 1:2]
- x[7, 1:2]
- x[12, 1:2]
- x[13, 1:2]

I have run this code and input dataset many times before without problems. This error just popped up?

data frame (partial)

data_69
X1969.01.22 X1969.02.11 X1969.05.01 X1969.06.05 X1969.07.03 X1969.08.14 X1969.09.06 X1969.10.09 X1969.11.13
1 1 0 1 0 1 0 0 0 0
2 1 1 1 0 1 1 1 1 1
3 1 1 1 1 1 1 1 1 1
5 0 1 0 0 0 0 0 0 0

Where you able to find an answer to fix this error? I am also getting the same error and I can't run my code.

Error: loops is FALSE, but x contains loops.
The following values are affected:
- x[1, 1:2]
- x[3, 1:2]
- x[4, 1:2]
- x[6, 1:2]
- x[7, 1:2]
- `x[8, 1:2]

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.