random_FLCatch_generator: Generate randomly sized and filled FLCatch objects

View source: R/test_helper_functions.R

random_FLCatch_generatorR Documentation

Generate randomly sized and filled FLCatch objects

Description

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.

Usage

random_FLCatch_generator(sd = 100, ...)

Arguments

sd

The standard deviation of the random numbers. Passed to rnorm() Default is 100.

...

Other arguments passed to random_FLQuant_generator().

Value

An FLCatch

Examples

flc <- random_FLCatch_generator()
summary(flc)

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