whosale {randomMachines}R Documentation

Wholesale Dataset

Description

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

Usage

  data(whosale)

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.

Source

The 'whosale' dataset is sourced from the UCI Machine Learning Repository: https://archive.ics.uci.edu/ml/datasets/wholesale+customers

Examples

    data(whosale)
    head(whosale)

[Package randomMachines version 0.1.0 Index]