View source: R/create_spawn_hab.R
create_spawn_hab | R Documentation |
create_spawn_hab
modifies the habitat preference maps
created by create_hab
to account for spawning habitat preference -
can be used as a substitute during spawning periods.
create_spawn_hab(hab = hab, spwnareas = NULL, mult = 10)
hab |
is the habitat preference for the population |
spwnareas |
is a list of Numeric vectors with the West, East, South and North dimensions of the spawning areas, in the form list(spwn1 = c(x1, x2, y1, y2) |
mult |
is a Numeric with the attractiveness of the spawning area (a multiplier) |
is the new habitat preference, taking account of the spawning area
create_spawn_hab(hab = matrix(nc = 100, runif(100 *
100)), spwnareas = list(spwn1 = c(20, 30, 50, 60)), mult = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.