search for: totalwat

Displaying 2 results from an estimated 2 matches for "totalwat".

Did you mean: totalmat
2013 Feb 26
1
Getting the correct factor level as Dunnett control in glht()
...astic" "rice" "soilwrap" [10] "straw" >petunia$Container <- factor(petunia$Container,levels(petunia$Container)[c(7,1:6,8:10)]) >petunia2<-order(petunia$Container) >petunia.sorted<-petunia[petunia2,] >petunia.sorted ID Container TotalWater LeafArea Distance Fresh Dry Bag Biomass 121 15 plastic 1961.00 332.0 109.10 42.700 11.00 7.90 3.10 122 38 plastic 2153.00 552.0 87.90 56.700 12.00 7.80 4.20 123 46 plastic 1880.00 394.0 81.10 48.100 11.60 7.90 3.70 124 66 plastic 2267....
2006 Oct 28
1
What determines the order of rows in a lattice barchart?
...a barchart? Cheers, Geoff. Here is my code, and the data follows. If I have z in alpha order, the barchart is in some order I can't determine. I originally tried rownames(twater)~twater$Cat, but the chart wasn't in rownames(twater) order either. library(lattice) twater<-read.csv("totalwater.csv",strip.white=T) twater$Cat<-ordered(twater$Cat,levels=(sort(levels(twater$Cat)))) sel<-twater$Cat=="A" nm<-sort(rownames(twater)) z<-factor(nm,levels=nm) chart<-barchart(z~twater$Volume, xlab="Volume of Water '000 ML", main="Water Use...