Skip to contents

This function loads external datasets available at extdata package folder

Usage

load_ext_data(x = "spp_sites")

Arguments

x

dataset to be loaded

Value

SpatRaster object

Details

These are the available datasets:

  • spp_sites: a SpatRaster with randomly generated presence-absence data for five species.

Examples

# load random species distributions
library(SESraster)
library(terra)

r <- load_ext_data()

plot(r)