random_fwdBiols_list_generator: Generates a list that can be passed to the CPP fwdBiols...

View source: R/test_helper_functions.R

random_fwdBiols_list_generatorR Documentation

Generates a list that can be passed to the CPP fwdBiols constructor

Description

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.

Usage

random_fwdBiols_list_generator(min_biols = 1, max_biols = 5, ...)

Arguments

min_biols

The minimum number of fwdBiols in the list. Default is 1.

max_biols

The maximum number of fwdBiols in the list. Default is 5.

...

Other arguments passed to random_FLBiolcpp_generator().

Value

A list object

Examples

fwdBiols <- random_fwdBiols_list_generator()

iagomosqueira/FLasher documentation built on Jan. 11, 2024, 12:58 a.m.