ggnet
ggnet copied to clipboard
Error in vignette_Example (4): French MPs on Twitter
when I run : ggnet2(net, color = "party", palette = y, alpha = 0.75, size = 4, edge.alpha = 0.5)
Error in geom_point():
! Problem while converting geom to grob.
ℹ Error occurred in the 2nd layer.
Caused by error:
! Unknown colour name: UMP
Backtrace:
- base (local)
<fn>(x) - ggplot2:::print.ggplot(x)
- ggplot2:::ggplot_gtable.ggplot_built(data)
- ggplot2:::by_layer(...)
- ggplot2 (local) f(l = layers[[i]], d = data[[i]]) ...
- self$draw_panel(data, panel_params, coord, na.rm = FALSE)
- ggplot2 (local) draw_panel(..., self = self)
- scales::alpha(coords$colour, coords$alpha)
- farver::decode_colour(colour, alpha = TRUE)
- farver:::decode_c(...)