Gapminder\TotalPopulation.csv data …Gapminder\LandArea.csv data …groupBy() with an operation of min(LandArea) != max(LandArea)
Yes there are. Use subset() and join() to create a new data frame that has the country's population in 1990 as one variable and the population in 2010 as another variable.
pop90 = subset(pop, Year == 1990)
## Error: object 'pop' not found
pop10 = subset(pop, Year == 2010)
## Error: object 'pop' not found
allpop = join(pop90, pop10)
## Error: object 'pop10' not found
transform() and cut() to create a prewar variable indicating whether data are from before World War II. Use levels: “pre” and “post”transform() and cut() to create a decade variable coded as “1980s”, “1990s”, “2000s” subset(), transform() and ntiles() to divide up countries into 5 categories according to their GDP in 2010.
groupBy() to find the range of GDP in each of the categories. Hint: max() and min()groupBy(), transform() and ntiles() to divide up countries into 5 categories according to how much their GDP has grown from 1990 to 2010.groupBy(), transform() and ntiles() to divide up countries into 5 categories according to how much their population has grown from 1990 to 2010.cut() to divide countries up into those that have shrank in population from 1990 to 2010, those that grew by less than 1%, less than 5%, less than 10%, and so on.In each R chunk, include the commands needed to pre-process the data, e.g., groupBy, join, and transform. Then, use mWorldMap() to generate a map command interactively. Then add the map command to your R chunk. Don't use mWorldMap() in this document.
min(Year)