Learn R Programming

randomMachines (version 0.1.1)

whosale: Wholesale Dataset

Description

The 'whosale' dataset contains information about wholesale customers' annual spending on various product categories.

Usage

data(whosale)

Arguments

Format

A data frame with 440 rows and 8 columns.

Details

This dataset includes the following columns:

y

Type of customer, either 'Horeca' (Hotel/Restaurant/Cafe), coded as 1 or 'Retail' coded as 2.

Region

Geographic region of the customer, either 'Lisbon', 'Oporto', or 'Other'. Coded as {1,2,3}, respectively.

Fresh

Annual spending (in monetary units) on fresh products.

Milk

Annual spending on milk products.

Grocery

Annual spending on grocery products.

Frozen

Annual spending on frozen products.

Detergents Paper

Annual spending on detergents and paper products.

Delicassen

Annual spending on delicatessen products.

Examples

Run this code
    data(whosale)
    head(whosale)

Run the code above in your browser using DataLab