What I am trying to do is to plot some non numeric data on R.
I have a data frame with the following column names and values
Vessel ID P560 P765 P456....
Fabric M S M....
Vessel Use Storing Cooking Storing....
I want to plot Storing vessels which are made of M fabric
I tried this:
pottery <- read.csv (file="potter.csv", header=TRUE)
class(pottery)
ggplot(data = pottery) +
geom_point(mapping = aes(x = Use=="Storing", y = Fabric=="M"))+
ggtitle("Test") +
labs(y="M Fabric", x = "Storing Use")+
theme(plot.title = element_text(hjust = 0.5))
And what I get is this
Any idea how to plot this kind of data?
