[R] Hello
Ben Tupper
btupper @end|ng |rom b|ge|ow@org
Tue Mar 8 13:15:12 CET 2022
Hello,
I agree with Ivan's suggestion, but also the few statements you show
perplex me. According to the igraph docs
(https://igraph.org/r/doc/simplify.html) simplify() returns a "A new
graph object with the edges deleted." So wouldn't you want something
like the following?
r2 <- simplify(r1, remove.multiple = TRUE, remove.loops = TRUE,
edge.attr.comb = igraph_opt("edge.attr.comb"))
plot.igraph(r2)
Ben
On Tue, Mar 8, 2022 at 5:55 AM Ivan Krylov <krylov.r00t using gmail.com> wrote:
>
> On Tue, 8 Mar 2022 15:55:19 +0530
> Shrinivas Dharma <dharma using metricuk.com> wrote:
>
> > I am not sure if this is the right place to ask the question of my
> > type.
>
> > I am wirking on a social network analysis project with R igraph
> > software.
> >
> > My graph data has multiple edges and multiple self loops
>
> Have you tried the igraph forum? It's probably a better fit because
> it's more likely to have people with igraph experience:
> https://igraph.discourse.group/c/usage/11
>
> --
> Best regards,
> Ivan
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Ben Tupper (he/him)
Bigelow Laboratory for Ocean Science
East Boothbay, Maine
http://www.bigelow.org/
https://eco.bigelow.org
More information about the R-help
mailing list