make_rec_type {burnr}R Documentation

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 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

make_rec_type("null_year")

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


[Package burnr version 0.6.1 Index]