lhs.shiny.select: Interactive selection of hullsets from a locoh-hullset

Description Usage Arguments Value See Also

View source: R/lhs.shiny.select.R

Description

Visually select one hullset per individual from a LoCoH-hullset

Usage

1
lhs.shiny.select(lhs, selection = NULL, gmap = "none")

Arguments

lhs

A LoCoH-hullset object

selection

An object of class locoh.selection containing a named list (one per individual) of selected hullset parameter values

gmap

The name of a background image that will be downloaded from Google: "none", "roadmap", "satellite", "hybrid", or "terrain". May also be a object of type locoh.gmap, see Notes.

Value

An object of class locoh.selection containing a list of selected hullset parameter value for each id (see Details)

with plots of isopleth area and isopleth edge:area ratio, and select the value of 'k', 'a', or 'r' that does the best job balancing over- and under-estimation.

This function can be useful when you have a locoh-hullset object with multiple hullsets for each individual over a range of k or a values, and you want to pick one hullset per individual for the rest of the analysis. Note the range of parameter values should be uniform.

This function requires using RStudio and the Shiny package. To return the selection, be sure to click the 'Save and Return' button in the shiny app. The object returned can be passed to the function again as the 'selection' argument.

To display an image from Google in the background, set gmap to "roadmap", "satellite", "hybrid", or "terrain". This requires an internet connection. You may also set gmap to an object of type locoh.gmap, so the image(s) don't have to be downloaded each time. See lhs.gmap (in the tlocoh.dev package).

See Also

codelhs.selection, codelhs.gmap


tlocoh.dev documentation built on May 2, 2019, 5:20 p.m.