11 results found for ..count.
..count..), vjust = -0.2, geom = "text", position = "identity") + xlab("# of cylinders") + ylab("Frequency") + opts(title = "Barplot: # of cylinders") I can get
http://stackoverflow.com/question...760/return-call-from-ggplot-object
ggplot2-generated statistic, such as ..count.., for the geom_area's y-values? Or, does the count aggregation need to occur prior to using ggplot2? UPDATE 2: As state
http://stackoverflow.com/question...he-area-under-a-geom-freqpoly-line
..count../sum(..count..), fill = Age)) + scale_y_continuous('', formatter = 'percent') + opts(legend.position = 'none') + opts(axis.text.y = theme_blank(), axis.title.y =
http://stackoverflow.com/question...g-pyramid-plot-using-r-and-ggplot2
observations should be converted into percentages. I can change the y axis scale to a percentage using ..count..*100/sum(..count..) but I can't fathom how to
http://stackoverflow.com/question...s-and-bars-as-percentage-of-counts
Politics') detach(Interest) attach(Interest) ### Finally create the graph in ggplot2 ### library(ggplot2) p<-ggplot(Interest, aes(Interest2, ..count..))
http://stackoverflow.com/question...th-multiple-variables-from-ggplot2
the default ..count.. , but I couldn't find a combination that worked. Instead (as is often the best solution when stuck with ggplot's on-the-fly
http://stackoverflow.com/question...problem-with-aesthetics-in-ggplot2
many areas, or where the legend "points" at the respective areas? Example plot: Created with: qplot(score, ..count.., data=df, fill=method,
http://stackoverflow.com/question...y-areas-or-where-the-legend-points
following: qplot(score, ..count.., data=df, geom='density', position='stack') + facet_grid(method~., scales='free', space='free') but I get: Error in if
http://stackoverflow.com/question...plot2-with-dynamic-heights-such-th
data = tips, geom = 'blank') + geom_bar(aes(fill = ..count.. > 65)) You can tweak this to suit your needs, but here's the basic concept: We'll define a
http://stackoverflow.com/question...ic-bar-in-a-bar-plot-qplot-ggplot2
use something other than ..count.. for the fill? I have a data set with over 100k observations of two variables on [0,1] and a set of weights. I want to
http://stackoverflow.com/question...ge-how-data-is-binned-for-geom-hex