select_hotspots: Greedy selection algorithm to select the k optimal hotspots...

Description Usage Arguments Examples

View source: R/fct_find_hotspots.R

Description

Greedy selection algorithm to select the k optimal hotspots to visit

Usage

1
select_hotspots(probs, k, H = NULL)

Arguments

probs

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

k

The number of hotspots you want to visit

H

A character vector of the hotspots you definitely want to visit

Examples

1
2
3
# Not run because of long runtime
# hotspots <- c('Otter View Park', 'Button Bay State Park')
# select_hotspots(drop_effort_cols(prob_per_loc), 5, hotspots)

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