sh.dist: Shiny application for generating horizontal distributions

View source: R/shdist.R

sh.distR Documentation

Shiny application for generating horizontal distributions

Description

Takes data from a .bgm box geometry file used by Atlantis to define box boundaries and provides a visualisation of the data in the form of a shiny application. The .bgm file must first be pre-processed by make.sh.dist.object, which generates a list object that is the parameter to sh.dist. The application allows users to create probability distributions that describe how a species is distributed across boxes assuming that the distribution is uniform within the spatial range defined by the user. The output produced within the shiny output can then be cut-and-pasted into an Atlantis .prm file.

Usage

sh.dist(map.object)

Arguments

map.object

R list object generated from make.sh.dist.object.

Value

Object of class 'shiny.appobj' see shinyApp.

Examples

## Not run: 
bgm.file <- "gbr_box_03012012.bgm"
dist.object <- make.sh.dist.object(bgm.file)
sh.dist(dist.object)

## End(Not run)

shanearichards/shinyrAtlantis documentation built on April 10, 2024, 7:19 a.m.