d_grp: Define smoking intensity group

Description Usage Arguments Value Author(s) See Also Examples

View source: R/d_grp.R

Description

Returns the smoking intensity group ("1-10", "11-20", or "21+" cigarettes) of an individual based on the average number of smoked per day.

Usage

1
d_grp(d)

Arguments

d

continuous variable indicating smoking intensity (number of cigarettes).

Value

Factor indicating the smoking intensity group.

Author(s)

Stavroula A. Chrysanthopoulou

See Also

age_grp

Examples

1
2
3
4
5
6
7
# Specify the smoking intensity group of an individual who smokes: 

# 1 cigarette/day:
  d_grp(1)

# 22 cigarettes/day:
  d_grp(22)

MILC documentation built on May 2, 2019, 3:45 a.m.