Description Usage Arguments Value Examples
Generates a list of randomly sized FLCatch objects filled with normally distributed random numbers with a mean of 0. Used for automatic testing, particularly of the FLCatches_base<T> class in CPP.
1 | random_FLCatches_generator(min_catches = 2, max_catches = 5, ...)
|
min_catches |
The minimum number of catches. Default is 2. |
max_catches |
The maximum number of catches. Default is 5. |
fixed_dims |
A vector of length 6 with the fixed length of each of the FLQuant dimensions. If any value is NA it is randomly set using the max_dims argument. |
max_dims |
A vector of length 6 with maximum size of each of the FLQuant dimensions. Default value is c(5,5,5,4,4,10). |
sd |
The standard deviation of the random numbers. Passed to rnorm() Default is 100. |
An FLCatches objects
1 2 3 4 | flcs <- random_FLCatches_generator()
length(flcs)
summary(flcs)
lapply(flcs, summary)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.