Using dplyr and ggplot2 for EDA with R Foundation for Statistical Computing For
ID: 3597518 • Letter: U
Question
Using dplyr and ggplot2 for EDA with R Foundation for Statistical Computing
For this assignment you will be using the functions from the dplyr package for data transformation and ggplot2 for data visualization.
You will be analyzing the data set flights from the nycflights13 package
1. Load the tidyverse package (this loads automatically dplyr and ggplot2)
library(tidyverse)
2. Load the AllCountries package
library(AllCountries)
### Problem 5
The dataset AllCountries includes information on the percent of people in each country with access to internet, energy consumption and more.
a) Upload the dataset AllCountries from the textbook's website. Analyze the content of the dataset by using the command head and print the size (number of countries included) of the dataset.
```{r}
```
b) Find the developed country with the largest percent access to Internet
```{r}
```
c) Determine the countries with the largest and smallest land areas
```{r}
```
Explanation / Answer
Problem-4:
R Code starts below this line.
#1. Load the tidyverse package (this loads automatically dplyr and ggplot2)
#Use install command if the package tidyverse is not installed in the RStudio or the R compiler which is being used
#install.packages("tidyverse")
library(tidyverse)
#2. Load the nycflights13 package
#Use install command if the package nycflights13 is not installed in the RStudio or the R compiler which is being used
#install.packages("nycflights13")
library(nycflights13)
Please post problem 5 as another question since as per chegg rules iexpert can solve only one question.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.