Skip to contents

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.

Usage

splnr_scale_01(dat, col_name)

Arguments

dat

sf dataframe

col_name

Name of the column to scale

Value

sf dataframe

Examples

df <- dat_species_prob %>%
  dplyr::mutate(Spp1 = Spp1 * 100) %>%
  splnr_scale_01(col_name = "Spp1")