hoteldataRandom: booking data of a invented hotel

Description Usage Format Examples

Description

The data frame contains the booking day, the arrival day and the depature day of the guests

Usage

1
data("hoteldataRandom")

Format

The data frame contains 4826 observations on 3 variables.

date_creation

date of the booking.

date_from

Arrival date of the customer.

date_to

Depature date of the customer.

Examples

1
2
3
4
5
6
7
data("hoteldataRandom", package = "bookMatrix")

## create the booking horizon
colnames(hoteldataRandom) <- c("date_creation", "date_from", "date_to") 
horizon1 <- findHorizon(hotelData = hoteldataRandom)

hist(horizon1$horizon, breaks=50)

bookMatrix documentation built on June 21, 2017, 3:01 a.m.