R/test_helper_functions.R
random_FLCatch_generator.Rd
Generate an FLCatch of random size and filled with normally distributed random numbers with a mean of 0. Used for automatic testing, particularly of the FLCatch class in CPP.
random_FLCatch_generator(sd = 100, ...)
The standard deviation of the random numbers. Passed to rnorm() Default is 100.
Other arguments passed to random_FLQuant_generator().
An FLCatch
flc <- random_FLCatch_generator()
summary(flc)
#> An object of class "FLCatch"
#>
#> Name: 864
#> Description: -156
#> Quant: age
#> Dims: age year unit season area iter
#> 4 6 4 3 4 2
#>
#> Range: min max pgroup minyear maxyear
#> 1 4 4 1 6
#>