airbnb.ac data frame has 18159 rows and 9 columns.
This data frame contains the following columns:
length of stay, in days.
Multiplicative factor for the discount for booking one week:
(published weekly rate) / (7
\times published nightly rate),
e.g., 0.2 means a 20 percent savings off the regular price.
Number of reviews on the website.
Average price per night per person, in Euros.
Number of bedrooms.
Minimum stay period, in days.
Maximum number of guests.
Character, values are
The data frame comprises Airbnb bookings in two
cities located in Sardinia, Italy.
The stays were during the whole of 2016.
Stays of 30 days or longer
and any rows with missing variables
were deleted from the original source.
LOS exhibits heaping at the values 7 and 14 days.
The data was obtained with permission from Luca Frigau, University of Cagliari, from https://www.airbnb.com.
## Not run: mytab <- with(subset(airbnb.ac, City == "Alghero"), table(LOS)) plot(prop.table(mytab), col = "blue", ylab = "Proportion") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.