ageCut: Cut all continuous age values to categorical.

Description Usage Arguments Examples

View source: R/ageCut.R

Description

ageCut cut all numeric age values to categorical. You can choose interval 5 or 10.

Usage

1
ageCut(x, interval = 5)

Arguments

x

a vector which have numeric age values.

interval

interval of age, between 5 or 10.

Examples

1
2
 cut1 <- ageCut(c(12,21,31,11,22,53,62,34,55))
 cut2 <- ageCut(c(12,21,31,11,22,53,62,34,55), 10)

lawine90/elseR documentation built on Feb. 7, 2020, 8:22 a.m.