calc_nspp: Calculate number of species (nspp)

Description Usage Arguments Value

View source: R/species.R

Description

Calculate number of species (nspp)

Usage

1
2
calc_nspp(con, tif, col_grps, group, tbl_spp_cells, col_spp,
  spp_prob_threshold = 0.5)

Arguments

con

database connection

tif

raster tif output

col_grps

column in species table with taxonomic groupings

group

taxonomic group

tbl_spp_cells

species_cells table with modeling period (ie now or 2100)

col_spp

column in species_cells matching spp.SPECIESID

spp_prob_threshold

probability threshold (default=0.5) to count as present

Value

True of completed, False if not


marinebon/gmbi documentation built on Oct. 6, 2020, 10:23 p.m.