R/utils.R
splnr_scale_01.Rd
splnr_scale_01() allows you to re-scale your data from values that are greater than 1 to values that are between 0 and 1.
splnr_scale_01()
splnr_scale_01(dat, col_name)
sf dataframe
sf
Name of the column to scale
df <- dat_species_prob %>% dplyr::mutate(Spp1 = Spp1 * 100) %>% splnr_scale_01(col_name = "Spp1")