R/test_helper_functions.R
random_fwdBiols_list_generator.Rd
The fwdBiols constructor takes a list (fwdbiols_list). Each element of fwdbiols_list is a list of: FLBiolcpp, SRR residuals and SRR residuals mult. This function generates randomly filled FLBiolcpp objects. Objects may be of different sizes unless appropriate arguments to random_FLBiolcpp_generator() are specified. Used for automatic testing, particularly of the fwdBiols<T> class in CPP.
random_fwdBiols_list_generator(min_biols = 1, max_biols = 5, ...)
The minimum number of fwdBiols in the list. Default is 1.
The maximum number of fwdBiols in the list. Default is 5.
Other arguments passed to random_FLBiolcpp_generator().
A list object
fwdBiols <- random_fwdBiols_list_generator()