Hi, I have a trouble in running beeswarm package.
Even if I had a plot results, I saw warning messages as follows
This is a code:
install.packages('beeswarm')
install.packages('RColorBrewer')
library(beeswarm)
library(RColorBrewer)
setwd("C:/Users/pjh74/Desktop/exercise")
titanic <- read.csv("https://static-resources.zybooks.com/static/titanic.csv", fileEncoding = "UTF-8-BOM")
beeswarm(fare ~ deck, data = titanic,
log = TRUE, pch = 16, col = rainbow(8),
main = "Fares paid by passengers of the Titanic by deck")
And these are warning messages:
1: In beeswarm.default(split(mf[[response]], f), pwpch = pwpch, pwcol = pwcol, :
values <= 0 omitted from logarithmic plot
2: In xy.coords(x = x, y = y, recycle = TRUE, log = log) :
12 y values <= 0 omitted from logarithmic plot
3: In xy.coords(x = x, y = y, recycle = TRUE, log = log) :
1 y value <= 0 omitted from logarithmic plot
4: In xy.coords(x = x, y = y, recycle = TRUE, log = log) :
2 y values <= 0 omitted from logarithmic plot
Could anybody help me to understand the messages?