define_spawn | R Documentation |
define_spawn
is an auxiliary function called by
create_spawn_hab
to create the spawning habitat preferences.
define_spawn(coord = NULL, spwn = NULL, mult = 10)
coord |
is a List of Numeric vectors of the boundaries of the spawning areas, i.e. list(spwn1 = c(x1, x2, y1, y2), spwn2 = ...) |
spwn |
is a Numeric matrix of 1s fed in by |
mult |
is a Numeric of the attractiveness of the spawning areas |
a matrix of spawning preference
define_spawn(coord = list(spwn1 = c(2,4,2,4)), spwn = matrix(nc = 3, runif(9)), mult = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.