Description Usage Arguments Value Author(s) Examples
Function to plot data availability in xtdata
datasets. Requires the ggplot2
package.
1 |
data |
a dataset with the |
variable |
the variable to plot. |
a ggplot2
object
Francois Briatte f.briatte@ed.ac.uk
1 2 3 4 5 6 7 8 | if(require(ggplot2)) {
# Load QOG demo datasets.
data(qog.demo)
xtmissing(qog.ts.demo, "chga_hinst") +
ggtitle("Country-year availability of regime type")
xtmissing(qog.ts.demo, "bl_asy15f") +
ggtitle("Country-year availability of female education")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.