Quantcast
Channel: How to split data in 2 different columns in a qplot() jitter chart? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by Jack Ryan for How to split data in 2 different columns in a qplot()...

See if this will work. . . ggplot(data=my.data, aes(x = factor(tag), fill = factor(class), y = values )) + geom_dotplot(binaxis = "y", stackdir="center", position = "dodge", size = 1, binwidth = 4,...

View Article



Image may be NSFW.
Clik here to view.

Answer by Sven Hohenstein for How to split data in 2 different columns in a...

Here's a solution. It was inspired by the general idea of this answer.# create an interaction of both factorsint <- with(my.data, interaction(class, tag)) # create a numeric variable (tag2 is used...

View Article

Image may be NSFW.
Clik here to view.

How to split data in 2 different columns in a qplot() jitter chart?

Hi there I have this set of data : my.data=read.table(text=" values tag class 1 100.0000000 X3 CS 2 100.0000000 X5 CS 3 54.2370601 X7 CS 4 63.4813701 X7 CS 5 51.0402580 X7 CS 6 60.1430236 X7 CS 7...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images