TIPS {regclass} | R Documentation |
TIPS dataset
Description
One waiter recorded information about each tip he received over a period of a few months working in one restaurant. He collected several variables:
Usage
data("TIPS")
Format
A data frame with 244 observations on the following 8 variables.
TipPercentage
a numeric vector, the tip written as a percentage (0-100) of the total bill
Bill
a numeric vector, the bill amount (dollars)
Tip
a numeric vector, the tip amount (dollars)
Gender
a factor with levels
Female
Male
, gender of the payer of the billSmoker
a factor with levels
No
Yes
, whether the party included smokersWeekday
a factor with levels
Friday
Saturday
Sunday
Thursday
, day of the weekTime
a factor with levels
Day
Night
, rough time of dayPartySize
a numeric vector, number of people in party
Source
This is the Tips
dataset in package reshape
, modified to include the tip percentage.
[Package regclass version 1.6 Index]