Scale and flatten a list of GCMs data.frames.
Examples
var_names <- c("bio_1", "bio_12")
s <- import_gcms(system.file("extdata", package = "chooseGCM"), var_names = var_names)[1:5]
study_area <- terra::ext(c(-80, -70, -50, -40)) |>
terra::vect(crs="+proj=longlat +datum=WGS84 +no_defs")
s_trans <- transform_gcms(s, var_names, study_area)
#> CRS from s and study_area are not identical. Reprojecting study area.
flattened_gcms <- flatten_gcms(s_trans)
