Description Usage Format Source

One waiter recorded information about each tip he received over a period of a few months working in one restaurant. He collected several variables:

1 | ```
data("TIPS")
``` |

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

This is the `Tips`

dataset in package `reshape`

, modified to include the tip percentage.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.