Learn R Programming

burnr (version 0.4.0)

make_rec_type: Turn character vector into factor with proper fhx levels.

Description

Turn character vector into factor with proper fhx levels.

Usage

make_rec_type(x)

Arguments

x

A character vector containing one or more rec_type-like strings.

Value

A factor with appropriate fhx levels.

Examples

Run this code
# NOT RUN {
make_rec_type('null_year')

make_rec_type(c('null_year', 'late_fs'))

# }

Run the code above in your browser using DataLab