Displaying 2 results from an estimated 2 matches for "graph4".
Did you mean:
graph
2011 Oct 26
1
Using abline in lattice
...logize for posting the second question
within two days.
So I want a stacked barchart, which should look like the one produced by
this code:
Tuvalu <- c(9,3,4,0,3,0,0)
Singapor <- c(38,0,0,0,12,19,0)
Samoa <- c(26,16,2,0,5,2,0)
PNG <- c(56,4,0,5,2,0,56)
Micronesia <- c(6,0,0,0,0,0,0)
graph4 <- data.frame(rbind(Tuvalu,Singapor,Samoa,PNG,Micronesia))
graph4$country <- c("Tuvalu","Singapore","Samoa","Papua New
Guinea","Micronesia")
graph4$country <- factor(graph4$country)
xyplot(country ~ X1 + X2 + X3 + X4 + X5 + X6 + X7, data=gr...
2008 Jan 30
2
Concatenate xyplots
Dear R-community,
I created 5 different xyplots and graphed all of them with the print command on one page (e.g.
print(graph1, split=c(1,1,1,5), more = T)
... print(graph5, split=c(1,5,1,5), more =T)
Using the above commands separates each graph by a white space. However, since the graphs do share the same x-axis, I was wondering if there is a way to concatenate graph1 through 5 so