taxa_records_habitat_features_intersect: Taxa records intersect

View source: R/SDM_GEN_MAPPING_FUNCTIONS.R

taxa_records_habitat_features_intersectR Documentation

Taxa records intersect

Description

Take a table of taxa records, and intersect the records for each taxon with a feature layer (e.g. Vegetation).

Usage

taxa_records_habitat_features_intersect(
  analysis_df,
  taxa_list,
  taxa_level,
  habitat_poly,
  output_path,
  buffer,
  raster_convert,
  int_cols,
  save_shp,
  save_png,
  epsg,
  poly_path
)

Arguments

analysis_df

SpatialPolygonsDataFrame - Spdf of all the taxa analysed

taxa_list

Character string - The taxa to run maxent predictions for

taxa_level

Character string - the taxnomic level to run maxent models for

buffer

Numeric - Distance by which to buffer the points (metres using a projected system)

raster_convert

Logical - Convert to raster?

int_cols

Character string - list of columns to keep from records * layer intersect

save_shp

Logical - Save as .shp? Geopackage is much better.

save_png

Logical - Save as .png?

epsg

Numeric - ERSP code of coord ref system to be translated into WKT format

poly_path

Character string - file path to feature polygon layer

habitat_raster

Character string - The habitat raster which has already been read in

country_shp

Character string - Shapefile name that has already been read into R (e.g. in the Package)


HMB3/nenswniche documentation built on Jan. 31, 2023, 11:46 p.m.