Question: 1 . Hotel Booking Demand This data set contains booking information for a city hotel and a resort hotel and includes information such as when

1. Hotel Booking Demand
This data set contains booking information for a city hotel and a resort hotel and includes information such as when the booking was made, length of stay, the number of adults, children, and/or babies, and the number of available parking spaces, among other things. Some attributes are removed from the original dataset for the purpose of this homework.
Load the dataset into R and answer following questions:
1) Check if this dataset contains any NAs, if yes, remove them.
There are no NAs in this dataset.
2) Since we cannot confirm why the values for adults are 0 in these bookings and it is suspicious to have bookings without adults, lets remove them. Save the updated data frame under hotelCleanDF. How many observations do you have?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!