This functions returns a boolean to check caretSDM object classes.
Usage
is_input_sdm(x)
is_sdm_area(x)
is_occurrences(x)
is_predictors(x)
is_scenarios(x)
is_models(x)
is_predictions(x)
Examples
# Create sdm_area object:
sa <- sdm_area(parana, cell_size = 25000, crs = 6933)
#> ! Making grid over study area is an expensive task. Please, be patient!
#> ℹ Using GDAL to make the grid and resample the variables.
is_sdm_area(sa)
#> [1] TRUE
is_input_sdm(sa)
#> [1] FALSE