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.

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

if (FALSE) {
bgm.file <- "gbr_box_03012012.bgm"
dist.object <- make.sh.dist.object(bgm.file)
sh.dist(dist.object)
}