calc_enviro_niches | R Documentation |
Takes a data frame of all species records, estimates geographic and environmental ranges for each, and creates a table of each. It uses the AOO.computing function in the ConR package https://cran.r-project.org/web/packages/ConR/index.html It assumes that the input df is that returned by the check_spatial_outliers function
calc_enviro_niches( coord_df, prj, country_shp, world_shp, kop_shp, taxa_list, env_vars, cell_size, save_run, data_path, save_data )
coord_df |
Data.frame. DF of all species records returned by the coord_clean_records function |
world_shp |
.Rds object. Shapefile of the worlds land (e.g. https://www.naturalearthdata.com/downloads/10m-physical-vectors/10m-land/) |
kop_shp |
.Rds object. Shapefile of the worlds koppen zones (e.g. https://www.climond.org/Koppen.aspx) |
taxa_list |
Character string - List of taxa analysed, used to cut the dataframe down |
env_vars |
Character string - List of environmental variables analysed |
cell_size |
Numeric. Value indicating the grid size in decimal degrees used for estimating Area of Occupancy (see ?AOO.computing) |
save_run |
Character string - run name to append to the data frame, useful for multiple runs. |
data_path |
Character string - The file path used for saving the data frame |
save_data |
Logical - do you want to save the data frame? |
aus_df |
Data.frame of site records (only used if you have site data, e.g. I-naturalist) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.