cutTSV: Categorizing Thermal Sensation Votes

View source: R/cutTSV.r

cutTSVR Documentation

Categorizing Thermal Sensation Votes

Description

cutTSV converts continuous thermal sensation votes to categorical ones.

Usage

cutTSV(pred)

Arguments

pred

a numeric item or vector containing continuous thermal sensation votes coded from -3 'cold' to +3 'hot'

Details

Categorization is realized with intervals closed on the right, e.g. setting all values lower and equal then -2.5 to a value of -3, higher than -2.5 and lower or equal -1.5 to -2, and so on.

Value

cutTSV returns an item or a vector with categorical thermal sensation votes.

Author(s)

Marcel Schweiker

Examples

## define example data
pred <- rnorm(5)
## bin values
cutTSV(pred)

marcelschweiker/comfort_R documentation built on Feb. 22, 2024, 9:04 p.m.