pred_total: Return the total expected number of species if visiting all...

Description Usage Arguments Value Examples

View source: R/fct_find_hotspots.R

Description

Return the total expected number of species if visiting all suggested hotspots

Usage

1
pred_total(hotspots, probs)

Arguments

hotspots

a character vector of hotspots of interest

probs

A tibble with the probability of observing each species at each locality

Value

A numerical value - the predicted total of species at this set of hotspots

Examples

1
2
hotspots <- c('Otter View Park', 'Hurd Grassland')
pred_total(hotspots, drop_effort_cols(sample_prob_per_loc))

abigailstone/optimal-big-day documentation built on Dec. 18, 2021, 9:30 p.m.