Description Usage Arguments Value Examples
This function creates a list of class gadget_strayfile
that can be
added into a gadget_stock
. The strayfile will then be written as an
attribute at the time of writing
1 | make_gadget_strayfile(steps, areas, stock_ratios, prop_fun)
|
steps |
Numeric. The steps in which the stock will stray |
areas |
Numeric. The areas in which the stock will stray |
stock_ratios |
Data.frame or list of the stocks and straying ratios |
prop_fun |
Character. The proportionfunction to use |
A list of class gadget_strayfile
1 2 3 | make_gadget_strayfile(steps = 1, areas = 1,
stock_ratios = data.frame("cod", 1),
prop_fun = c("constant", 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.