Description Usage Arguments Value Examples
Takes in two years worth of datasets and returns a map of the international countries that maps the difference of the two datasets
1 2 | countrymap(currentyear, oldyear, title = "", save = FALSE,
interactive = FALSE)
|
currentyear |
The vector of a dataset for the most current year |
oldyear |
The vector of a dataset for the year you want to compare to |
title |
The title of the plot and the name that the plot is saved to |
save |
TRUE to save, FALSE to not |
interactive |
TRUE to choose the interactive mode in viewer, FALSE to view in just the default plot |
a s4 object that has the difference of the datasets mapped to it
1 2 3 | ##Creating the map of the data with data from 2001 and 2000, as well as using save and interactive move
countrymap2000.2001 <- countrymap(yearsdata$X2001, yearsdata$X2000, title = "Change in Students 2000-2001",
save = TRUE, interactive = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.