Description Usage Arguments Examples
Plot function for data frames with an
xtdata
attribute.
1 |
data |
a data frame with an |
variable |
the variable to plot. |
name |
the name to give the color scale. |
1 2 3 4 5 6 | # Population in countries with a population over 100,000 people.
xtplot(xtsubset(qog.ts.demo, unna_pop > 10^8), "unna_pop") + geom_area()
# Health care expenditure per capita in a random country sample.
xtplot(xtsample(qog.ts.demo, 12), "wdi_hec", "line") +
geom_smooth() + geom_point() +
xlim(1995, 2010)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.