[R] overdrawing a plot

2008-02-20 Thread Gallego Liberman, Matias
Hi helpers. I have the following problem and I need some help When using grid.edit inside a pdf device it applies the changes on a second plot, not erasing the first one. Here it is an example. >DF<-data.frame(A=c(1:12),B=c(1:12)*c(rnorm(12,mean=1)),C=2*c(1:12),D=re p(c(1:4),each=3)) >trellis.d

[R] storing ggplot objects as components of a vector

2008-02-15 Thread Gallego Liberman, Matias
Hi. I have a lot of plots that i need to store as components of a vector. Here you have an example > DF<-data.frame(A=rnorm(12),B=c(1:12),C=rep(c(1:4),each=3)) > Q<-c() > length(Q)<-3 > PAC<-geom_point(mapping=aes(x=A,y=B),data=DF[DF$C==1,]) > P<-ggplot()+PAC > P #generates the plot > Q[1]<-P W

[R] problems plotting geom_line on ggplot2

2008-02-12 Thread Gallego Liberman, Matias
Hi! My problem is similar to an already posted one, but the proposed solution did not work. I'm not able to make a line type plotting on ggplot2 package this is the code and the error > DF Hora PAC 640 10:00:00 13960 673 10:15:00 15690 790 10:30:00 17200 884 10:45:00 18580 932 11:

[R] hexadecimal to binary conversion

2008-01-21 Thread Gallego Liberman, Matias
Hi I am looking for a function to convert an hexadecimal base input to a binary base output. May anybody help me? Thank you [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-