ShowMeDouble: Display a 'DoubleObsRandom' solution

View source: R/DubObs.R

ShowMeDoubleR Documentation

Display a DoubleObsRandom solution

Description

ShowMeDouble will display the solution found by DoubleObsRandom on the associated strata using Leaflet.

Usage

ShowMeDouble(strata.path, solution)

Arguments

strata.path

The path name to the .shp file of the stratification. Must be in a format accepted by SplitDesign.

solution

The solution from a DoubleObsRandom optimization.

Details

ShowMeDouble is designed to take a directory path for a stratification base layer and the result of DoubleObsRandom and produce an interactive Leaflet map. Clicking on strata will bring up the STRATNAME field associated with the click. Clicking on a transect will display the associated strata identification, transect numbering, recalculated (SPLIT) transect number (see SplitDesign), and optimal positioning of the third observer (behind pilot or front-seat observer).

Value

Returns a leaflet object for display.

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/cfrost3/AKaerial

Examples

 ShowMeDouble(strata.path="C:/Habitat.shp", solution=DoubleObsRandom(strata=MyStrata, transects=MyTransects))


USFWS/AKaerial documentation built on April 3, 2025, 4:06 p.m.