search for: chardon

Displaying 5 results from an estimated 5 matches for "chardon".

Did you mean: chardron
2008 Apr 29
2
ggplot2: labels and breaks order does not match and I can't use scale_fill_identity
Hi, I'm plotting a bar chart like this: ggplot() + geom_bar(data=res,aes(fill=f1,x=f2,y=y),stat="identity",position="dodge") f1 contains quite a few levels and the plot is really quite difficult to read when the order of bars on the graph and on the legend does not match. This problem has been discussed recently here:
2008 May 06
1
ggplo2: x_discrete labels size/direction
Hi everyone, I've got quite a few labels along the x axis and ggplot2 basically just crams them on top of each other. Is it possible to reduce the font size and/or text direction? Stretching the "windows" device window manually also helps, but I found that setting the parameters for the pdf device (where my scripts should print the data), such as paper="a4r" just results
2009 Sep 29
3
sort dates within a factor
Dear List, I have the following data: >> test <- data.frame(date = as.Date(c('2007-01-01','2008-03-24','2003-03-02','2008-05-03','2002-05-23','2001-06-30','2005-12-04')), nr = c(2000,2000,2000,2001,2002,2003,2003)) test date nr 1 2007-01-01 2000 2 2008-03-24 2000 3 2003-03-02 2000 4 2008-05-03 2001 5 2002-05-23 2002 6
2009 May 06
1
model fitting using by(): how to get fitted values?
Hi all, I'm doing nonlinear regressions on data with several factors. I want to fit say a logistic curve with different parameter values for each factor level. So I'm doing something like: tmp <- by( myData, list(myFactor1, myFactor2), function(x) nls(...) ) It works fine. However, I could not find an easy way to retrieve fitted values. I can use fitted() on each element of tmp, but
2008 Apr 29
1
ggplot2: setting global graphic parameters with png driver
Hi all, I prepared a few charts with ggplot2, and was happy with the results as displayed on screen. I tried to draw them with a PNG driver instead. But I ran into several problems while trying to increase the resolution of the picture. Mainly, when I increased the picture size (e.g png(width=1024, height=768) ), the texts (title, labels, etc...) where too small. I tried to set the