[statnet_help] Question about duplicated variable

Daniel Gotthardt daniel.gotthardt at uni-hamburg.de
Fri Dec 23 05:55:10 PST 2022


Hello Chen Bochuan,

you have duplicates which you could not see, because you tried to subset
the whole matrix with a row-indicator: df[duplicated(df)] should be
df[duplicated(df), ].

For example the rows 1251 and 1258 are duplicates of each other with the
values (FKZL26-1, HBL1191-1, 1).

Best Regards,

Daniel

Am 23.12.2022 um 03:12 schrieb 陈博川:

> Hi there,

> Thanks for your time to read the email.

> I'm a freshman in Tsinghua University and I'm writing to ask about the

> error:

> "Error: `multiple` is `FALSE`, but `x` contains parallel edges.The

> following rows in `x` are duplicated:"

> While i cannot see what's the problem. So i append the screenshot of the

> data in the appendix.

> Thanks for your time and patience, hope to get the help soon!

> Sincerely

> Chen Bochuan

>

> _______________________________________________

> statnet_help mailing list

> statnet_help at u.washington.edu

> http://mailman13.u.washington.edu/mailman/listinfo/statnet_help


--

Daniel Gotthardt, M.A.

Wissenschaftlicher Mitarbeiter / Research Associate

Universität Hamburg
Fakultät für Wirtschafts- und Sozialwissenschaften / Faculty of
Business, Economics and Social Sciences
Fachbereich Sozialwissenschaften / Department of Social Sciences
Soziologie, insb. Digitale Sozialwissenschaft / Sociology, esp. Digital
Social Science

Max-Brauer-Allee 60
22765 Hamburg
www.uni-hamburg.de



More information about the statnet_help mailing list