Skip to content

Legend incorrectly captured #2007

Closed
@danton267

Description

@danton267

library(plotly)
library(ggnet)
library(network)
library(sna)
library(ggplot2)

# random graph
net = rgraph(10, mode = "graph", tprob = 0.5)
net = network(net, directed = FALSE)

net %v% "phono" = ifelse(letters[1:10] %in% c("a", "e", "i"), "vowel", "consonant")


p <- ggnet2(net, color = "phono")

ggplotly(p)

Legend results in (1,contant,19,9) and (1,vowel,19,9) instead of contant and vowel

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions