Stock module {AMPLE}R Documentation

stockParamsSetterUI

Description

stockParamsSetterUI() is the interface for the stock options (e.g. life history and exploitation status).

stockParamsSetterServer() does the setting of the stock parameters in the server.

get_stock_params() Sets up default values for the stock, including year range. It's a separate function so it can be used and tested outside of a reactive environment.

Usage

stockParamsSetterUI(id)

stockParamsSetterServer(id, get_stoch_params = NULL)

get_stock_params(input, biol_sigma = 0)

Arguments

id

Shiny magic

get_stoch_params

Reactive expression that accesses the stochasticity module server.

input

List of stock parameters taken from the shiny UI (stockParamsSetterUI()).

biol_sigma

Standard deviation of the biological variability (default = 0).

Value

A taglist

A list of stock options.


[Package AMPLE version 1.0.2 Index]