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

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Turn character vector into factor with proper fhx levels

Usage

1

Arguments

x

A character vector or factor containing one or more rec_type-like strings. This uses a controlled vocabulary, see burnr:::rec_type_all for list of all possible rec_type values.

Value

A factor with appropriate fhx levels.

See Also

Examples

1
2
3
make_rec_type("null_year")

make_rec_type(c("null_year", "late_fs"))

burnr documentation built on March 10, 2021, 5:07 p.m.