Displaying 2 results from an estimated 2 matches for "cladocera".
2002 May 31
2
Matrix-like plot
...cex, but I am not
sure how to go about doing this. An alternative could be to use image()
to plot coloured boxes for each cell based on the abundances. I tried
this initially like so:
> test <- expand.grid(x=1:47, y=1:83)
> names(test)
[1] "x" "y"
> image(test, z=cladocera) #cladocera being the matrix containing the
abundances
Error in image.default(test, z = cladocera) :
increasing x and y values expected
I am now stuck as to how generate the x and y points for image.
If anyone has any pointers I would be most grateful,
All the best
Gavin Simpson
%~%~%...
2012 Nov 12
2
order in stacked barplot
...he same order in
every stacked bar.
I used the code
data1 <- read.table("N_O_W_MAI.txt", header=TRUE, dec = ",")
attach(data1)
Teich1<-factor(Teich,levels=c(5,7,9,11,"G") ,ordered=is.ordered(Teich))
Gruppe1<-factor(Gruppe,levels=c("Annelida","Cladocera","Copepoda",
"Diptera","Ephemeroptera","Ostracoda","Sonstige"),ordered=is.ordered(Gruppe))
data2<-data.frame(Teich1,Gruppe,Herkunft,IRI)
data2
> str(data2)
'data.frame': 65 obs. of 3 variables:
$ Teich1: Factor w/ 5 levels...