prob_hotspots: Calculate the probability of seeing each species for a given...

Description Usage Arguments Value Examples

View source: R/fct_find_hotspots.R

Description

Calculate the probability of seeing each species for a given set of hotspots

Usage

1
prob_hotspots(hotspots, prob_per_loc)

Arguments

hotspots

A character vector of hotspot names

prob_per_loc

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

Value

A named numerical vector of the probability of observing each species at the given combination of hotspots

Examples

1
2
hotspots <- c('Otter View Park', 'Button Bay State Park')
prob_hotspots(hotspots, drop_effort_cols(sample_prob_per_loc))

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