Learn R Programming

nricens (version 1.6)

categorize: Categorization of a continuous variable.

Description

Internaly used function to categorize a continuous variable.

Usage

categorize(dat, threshold)

Arguments

dat

Numerical vector for a categorization.

threshold

Vector or scalar value(s) to determine the cutoff values for a categorization.