Currently I'm using a mosaicplot to see an accuracy vs length of vowel comparison (based on if someone knows Japanese). My code is working, but is there a way that I can calculate a % value for my JAcc column using boxplot or some other categorical-friendly function?
For that matter, I get some weird results already when I try to boxplot it
Original mosaicplot code:
mosaicplot(table(JA1$JAcc, JA1$Length))
attempt at boxplot code:
ggplot(data = JA1) +
geom_boxplot(mapping = aes(x = JAcc, y = Length))
results in: