simulateData3 | R Documentation |
Simulate a data set of individual catch weight or
simulateData3(samplesize = 1000, params = parameters(), binsize = 5,
keepZeros = TRUE, retDF = TRUE, ...)
samplesize |
Integer. Number of simulated individuals |
params |
Object of class |
binsize |
Numeric. Weight class width. If |
keepZeros |
Logical. If TRUE the resulting data.frame includes weight classes with zero individuals. Otherwise these weight classes are dropped. Ignored if |
retDF |
Logical. If TRUE a data.frame is returned with columns Weight (weight classes) and Freq (numbers per weight class) |
... |
Extra named arguments passed to |
Invisible list with
'sample' containing weights of individuals,
'parameters' the parameters as a Parameters
object
'Fmsy' the Fmsy of the given parameters
'df' A data.frame with columns Weight and Freq with number per weight class. This is returned only if retDF
is TRUE
alko
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.