Re: [R] several questions about R graphic properties

2009-09-05 Thread jim holtman
SOmething like this should work where you 'split' you data frame by the contents of the first column and then plot the data: Dens <- split(D, D[,1]) for (i in Dens){ # process each species jpeg(paste(i[1,1], '.jpg', sep='') # create file with species name plot(., main=i[1,1]) dev

[R] several questions about R graphic properties

2009-09-05 Thread Антон Морковин
I have a several questions about R graphic properties. I use a "barplot2" function for creating plots with error bars. My data include species' names in first column, and I need make plots for each species. I know how to select species for each plot: D<-read.table("FD_R.txt", h=T) Dens<-D[D[,1