powered by
Internal function that converts the cryptic predictor class names to readable land cover names.
convert_classes(x, by_cover_class = FALSE, pretty = FALSE)
character; vector of land cover variable names to convert.
logical; whether to replace FRAGSTATS cover class name with a name for the cover class as whole.
logical; whether to convert from capital case to title case.
A vector of converted names.
# NOT RUN { predictors <- c("MCD12Q1_LCCS1_FS_C1_1500_ED", "MOD44W_OIC_FS_C3_1500_ED", "ELEV_SD") ebirdst:::convert_classes(predictors, pretty = TRUE) # }
Run the code above in your browser using DataLab