Displaying 1 result from an estimated 1 matches for "plyr_plot".
2011 Aug 10
1
Sequential Naming of ggplot .pngs using plyr
...=factor(site),y=dat[,i]))+geom_boxplot()+opts(title=paste('plot
number',ctr,sep=' ')))
+ dev.off()
+ ctr<-ctr+1
+ })
user system elapsed
54.630 0.120 54.843
> system.time(
+ ddply(melt(dat,id.vars='site'),.(variable),function(df) {
+
png(file='/tmp/plyr_plot.png',height=8.5,width=11,units='in',pointsize=9,res=300)
+ print(ggplot(df,aes(x=factor(site),y=value))+geom_boxplot())
+ dev.off()
+ },.parallel=F)
+ )
user system elapsed
58.40 0.13 58.63
> system.time(
+ ddply(melt(dat,id.vars='site'),.(variable),fu...