Displaying 2 results from an estimated 2 matches for "r47259".
2009 Jan 13
1
Drawing Polygons with xyplot in lattice
...000,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 version 2.7.2 Patched (2008-09-20 r47259)
on Mac OS 10.5
Thanks,
Josip
2009 Jan 27
1
Data Frame Manipulation: Time Series
.... Thus, the new data frame should look like this:
country year war
1 Angola 1975 1
8 Angola 1982 1
10 Burundi 1989 1
14 Burundi 1993 1
17 Chad 1965 1
27 Chad 1975 1
Any suggestions as to how this can be done?
Thanks in advance,
Josip
R version 2.7.2 Patched (2008-09-20 r47259)
Mac OSX 10.5.5