powered by
Turn character vector into factor with proper fhx levels.
make_rec_type(x)
A character vector containing one or more rec_type-like strings.
A factor with appropriate fhx levels.
# NOT RUN { make_rec_type('null_year') make_rec_type(c('null_year', 'late_fs')) # }
Run the code above in your browser using DataLab