Learn R Programming

regclass (version 1.6)

TIPS: 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")

Arguments

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