Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

please see the file uploaded

1 answer below »
Answered Same Day Sep 09, 2021

Solution

Naveen answered on Sep 11 2021
135 Votes
---
title: "Assignment1_submission"
output: word_document
---
```{r}
## installing required packages
#install.packages("readr")
#install.packages("stringr")
#install.packages("dplyr")
#install.packages("tidyr")
#install.packages("ggplot")
#install.packages("lu
idate")
#install.packages("fitdistrplus")
## calling packages
li
ary(readr)
li
ary(dplyr)
li
ary(stringr)
li
ary(tidyr)
li
ary(lu
idate)
li
ary(ggplot2)
li
ary(fitdistrplus)
```
## Task1
```{r}
## Reading data into R
Ed_demand<-read.csv("govhack3 .csv",header = TRUE, sep = ',',skip=1)
## dimension of the data
dim(Ed_demand)
## finding the number of columns
length(Ed_demand[1,])
## showing the data types of each variable
str(Ed_demand)
##changing the data type
Ed_demand$Date<-as.Date(Ed_demand$Date,format = "%d-%b-%Y")
## showing the minimum date
min(Ed_demand$Date)
##showing the amximum...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here