search for: environnementale

Displaying 4 results from an estimated 4 matches for "environnementale".

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:
2007 Jun 27
1
Another loop avoidance question.
...matrix(0,nrow=n,ncol=k2) pt1 = proc.time(for (i in 1:k1) output1 = output1 + m1[,i]*m2) ## Approach 2: loop on k2 output2 = matrix(0,nrow=n,ncol=k2) pt2 = proc.time(for (i in 1:k2) output2[,i] = rowSums( m1*m2[,i] )) ## Same result sum(output1-output2) -- David Pleydell Laboratoire de Biologie Environnementale USC INRA-EA 3184 Universit? de Franche-Comt? Place Leclerc F 25030 Besan?on France (0033) 0381665763 dpleydel at univ-fcomte.fr
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
2004 Feb 26
1
writing polygons/segments to shapefiles (.shp) or other A rcGIS compatible file
The main limitation of the shapefiles package that I put together is that it does not create shapefiles from R objects - rather it only writes shapefiles that have been read into R and manipulated within the constraints of the existing file structure. By this I mean that for example you can change the coordinates of points and write them back out. Or you can add a bunch of blank columns in the