TIPS: TIPS dataset

Description Usage Format Source

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

1
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 bill

Smoker

a factor with levels No Yes, whether the party included smokers

Weekday

a factor with levels Friday Saturday Sunday Thursday, day of the week

Time

a factor with levels Day Night, rough time of day

PartySize

a numeric vector, number of people in party

Source

This is the Tips dataset in package reshape, modified to include the tip percentage.


profpetrie/regclass documentation built on May 26, 2019, 8:33 a.m.