segbycategory {HS}R Documentation

Segmentation with categorical variables.

Description

Segmentation with categorical variables.

Usage

segbycategory(data, by = NULL)

Arguments

data

A data frame of a dataset.

by

A character or a vector of categorical variable names.

Examples

testdata <- tsdwa[1:100,]
testdata <- segbycategory(testdata, by = c("SurfType", "PvtType"))


[Package HS version 1.1 Index]