Displaying 2 results from an estimated 2 matches for "faso".
Did you mean:
caso
2009 Jan 13
1
Drawing Polygons with xyplot in lattice
...t with xyplot.
Here is some sample code (with 4 countries and 10 years), which is as far as I've been able to get:
library(lattice)
df<-data.frame(c(u5cmr=round(runif(40)*100)),country=c(rep("Angola",10), rep("Benin",10), rep("Botswana",10), rep("Burkina Faso",10)), year=rep(1991:2000,4))
names(df)<-c("u5cmr", "country", "year")
xyplot(u5cmr ~ year | country , ylab = "U5 cmr (per thousand)", data = df, type = "l", lty = 1, col ="red", xlab="Year", as.table=T, lwd=2)
R versio...
2006 Jul 18
2
how can I delete rows?
...___________________________________
1 Algeria DZA + +
2 Angola AGO - -
3 Benin BEN - +
4 Botswana BWA + +
5 Burkina Faso HVO - -
6 Burundi BDI + -
7 Cameroon CMR + +
8 Cape verde CPV - -
9 Central African Rep. CAF + +
10 Chad...