qplot

Learning qplot

What is a good resource for learning qplot? Or even what is a good qplot reference? ...

qplot and anti-aliasing in R

I am using ggplot2 library and am working with the qplot command I know I can save my output as an anti-aliased image file by using the following command after my qplot ggsave(file="filename.png") But how about my LCD display? is there any way to see a plot on the monitor as anti-aliased grpah? ...

scatterplot: how to color points in a different color if a data attribute is not null

I have a scatter plot in R (with ggplot2). The data has a numeric column (let's call it "bin") which can contain various integer values or null. I would like to colour the points with non-null bin values differently from the others. I do not want to one colour per value of bin, that would be too noisy. Just simply, say, red for those wi...

Create qplots (with ggplot2) larger than the window?

I have a large chart with many data points. When I create the qplot in R, the chart is auto-fitted to the window. Even if I maximize the window, the chart is still too small and details are lost. I would like to save it as a large PNG and then look at certain areas at 1:1 resolution with an image viewer (as I cannot zoom in easily in R)....

Smooth Error in qplot from ggplot2

I have some data that I am trying to plot faceted by its Type with a smooth (Loess, LM, whatever) superimposed. Generation code is below: testFrame <- data.frame(Time=sample(20:60,50,replace=T),Dollars=round(runif(50,0,6)),Type=sample(c("First","Second","Third","Fourth"),50,replace=T,prob=c(.33,.01,.33,.33))) I have no problem either...

Can qplot directly display percentages without intermediate columns?

I have a bunch of histograms to plot on data that is still coming. As the sample sizes vary, in order to compare them I need to plot the histograms with percentages not counts. qplot (field, data=mydata, geom="histogram", binwidth=10) the above qplot displays the counts. The density option is not applicable as it divides the counts wi...