Displaying 1 result from an estimated 1 matches for "avariety".
Did you mean:
variety
2006 Mar 21
5
How to use: library lattice: barchart
...ylab = "Barley Yield (bushels/acre)",
scales = list(x = list(abbreviate = TRUE,
minlength = 5)))
I want my data to be represented just in the same way. But when I try it like
this:
ayield = c(2,3,5,6,3,4,7,8,9,2,3,5,6,1,2,3,4,2,6,8)
avariety = c(rep("A",5),rep("B",5),rep("C",5),rep("D",5))
ayear = (c(rep(1931,10),rep(1932,10)))
asite = c(rep(c("iu","gt","jt","jhzt","tr"),4))
abarley = data.frame(cbind(ayield,avariety,ayear,asite))
barchart(ayield...