Displaying 4 results from an estimated 4 matches for "geom_freqpoly".
2011 Sep 08
2
ggplot geom_freqpoly() layers ..?
...mple code ############
library(ggplot2)
###### Plot 1 - normal distributions with mean = 0 ######
mat <- matrix(rnorm(10000,mean=0),1000,10)
colnames(mat) <- paste('a',1:ncol(mat),sep='')
rownames(mat) <- 1:nrow(mat)
mat2 <- melt(mat)
ggplot(mat2) + geom_freqpoly(aes(x = value,
y = ..density.., colour = X2))
###### Plot 2- normal distributions with mean = 1
tab <- matrix(rnorm(10000,mean=1),1000,10)
colnames(tab) <- paste('b',1:ncol(tab),sep='')
rownames(tab) <- 1:nrow(tab)
tab2 <- melt(tab)...
2011 Sep 08
1
ggplot2 freqpoly() layers..?
...code ############
library(ggplot2)
###### Plot 1 - normal distributions with mean = 0 ######
mat <- matrix(rnorm(10000,mean=0),1000,10)
colnames(mat) <- paste('a',1:ncol(mat),sep='')
rownames(mat) <- 1:nrow(mat)
mat2 <- melt(mat)
ggplot(mat2) + geom_freqpoly(aes(x = value,
y = ..density.., colour = X2))
###### Plot 2- normal distributions with mean = 1
tab <- matrix(rnorm(10000,mean=1),1000,10)
colnames(tab) <- paste('b',1:ncol(tab),sep='')
rownames(tab) <- 1:nrow(tab)
tab2 <- melt(t...
2008 Nov 21
0
ggplot2 - version 0.8
...t bother reporting minor typos, I
would much rather hear about what you want to do, but can't figure out
from the book.
Other new features:
* geom_bin2d/stat_bin2d & geom_hex/stat_binhex: for 2d square and
hexagon binning, particularly useful for alleviating overplotting in
scatterplots
* geom_freqpoly: draws frequency polygons (= stat_bin + geom_line)
* scale_position: both discrete and continuous gain a new formatter
argument to control the default formatting of the axis labels. See
also the handy numeric formatters: dollar, comma and percent
* the xlim and ylim functions now produce discrete...
2008 Nov 21
0
ggplot2 - version 0.8
...t bother reporting minor typos, I
would much rather hear about what you want to do, but can't figure out
from the book.
Other new features:
* geom_bin2d/stat_bin2d & geom_hex/stat_binhex: for 2d square and
hexagon binning, particularly useful for alleviating overplotting in
scatterplots
* geom_freqpoly: draws frequency polygons (= stat_bin + geom_line)
* scale_position: both discrete and continuous gain a new formatter
argument to control the default formatting of the axis labels. See
also the handy numeric formatters: dollar, comma and percent
* the xlim and ylim functions now produce discrete...