prepare_sdm_table | R Documentation |
'This function takes a data frame of all taxa records, And prepares a table in the 'taxa with data' (swd) format for modelling uses the Maxent algorithm. It assumes that the input df is that returned by the coord_clean_records function'
prepare_sdm_table( coord_df, taxa_list, site_flag, occ_flag, site_split, spat_out_remove, sdm_table_vars, save_run, read_background, background_points, save_data, data_path, country_epsg, world_epsg )
coord_df |
SF object. Spatial DF of all taxa records returned by the coord_clean_records function |
taxa_list |
Character string - the taxa analysed |
site_split |
Logical - do you want to add sites to the table? |
spat_out_remove |
Logical - do you want to save the data frame? |
sdm_table_vars |
Character string - The enviro vars to be included in taxa models |
save_run |
Character string - append a run name to the output (e.g. 'bat_taxa') |
read_background |
Logical - Read in an additional dataframe of background points (T/F)? |
background_points |
Data.frame. DF of extra taxa records |
save_data |
Logical - do you want to save the data frame? |
data_path |
Character string - The file path used for saving the data frame |
country_epsg |
Numeric - The national projected CRS system to use (metres) |
world_epsg |
Character string - The global geographic CRS to use (decimal degrees) |
BG_points |
Logical - Do we want to include a dataframe of background points? Otherwise, BG points taken from taxa not modelled |
save_shp |
Logical - Save a shapefile of the SDM table (T/F)? |
project_path |
Path of taxa records, with spatial outlier T/F flag for each record |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.