sh.dist: Shiny application for generating horizontal distributions

Description Usage Arguments Value Examples

View source: R/shdist.R

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

1
sh.dist(map.object)

Arguments

map.obj

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

Value

Object of class 'shiny.appobj' see shinyApp.

Examples

1
2
3
4
5
6
## 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 May 26, 2017, 7:02 a.m.