Displaying 3 results from an estimated 3 matches for "gglot2".
Did you mean:
ggplot2
2013 Jul 10
3
PCA and gglot2
...)
The biplot present the data points as numbers. How can I present the data
point in color (depends on their group-column 5). I was thinking about doing
it using ggplot2 but I can not succeed. Any idea how to do it?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/PCA-and-gglot2-tp4671225.html
Sent from the R help mailing list archive at Nabble.com.
2007 Jul 12
1
ggplot2 / reshape / Question on manipulating data
...around with basic
R functionality, I stumbled across the 'aggregate' function and was
able to see the information in the manner I desired (average movie
rating by year).
> byYear <- aggregate(ratings$VoteMean, list(Year = ratings$Year), mean)
> plot(byYear)
Having just discovered gglot2, I wanted to create the same graph but
augment it with a color attribute based on the total number of votes
in a year. So first I tried to see if I could reproduce the above:
> library(ggplot2)
> qplot(Year, x, byYear)
This did not work as expected because the x-axis contained labels for
e...
2012 Aug 08
1
ggplot2 with separate average lines
Hi I'm just starting off with R but is this correct?
I have this data set.
> data
Type ID Size
1 Reqd 244808 1024
2 Reqd 244045 512
3 Reqd 245427 800
4 Reqd 245423 1024
5 Reqd 244983 1024
6 Used 244808 615
7 Used 244045 33
8 Used 245427 261
9 Used 245423 461
10 Used 244983 1194
I want a scatterplot of the Size values grouped by the Type column.
I also want 2 lines