Starting from a .csv I'd like to highlight a single point in a beeswarm plot.
library("beeswarm")
#carico dati
library(readr)
lavororadar <- read_delim("lavororadar.csv",
";", escape_double = FALSE, trim_ws = TRUE)
View(lavororadar)
# Beeswarm not penalty goal
beeswarm(lavororadar$npgoal, col=?????, pch=19, method="swarm", cex=0.5)
You can set the colour of individual points using the
pwcolargument. Here is an example...So you just need to set a suitable vector of colours to fit your data.