doCheck: Checking a User's doOne

View source: R/subjob.R

doCheckR Documentation

Checking a User's doOne

Description

doCheck() checks, if possible, a user's doOne() function for return objects of correct sizes.

Usage

doCheck(doOne, vList, nChks = ng, verbose = TRUE)

Arguments

doOne

a user-supplied function for computing one row of the (physical) grid.

vList

a list of variable specifications. Each variable spec is itself a named list which must contain a "value" component.

nChks

number of rows randomly picked from the (physical) grid which are used for a basic test of the evaluation and return value of doOne().

verbose

logical indicating whether check output is displayed.

Value

None.

Author(s)

Marius Hofert and Martin Maechler.

Examples

## definition
doCheck

simsalapar documentation built on April 27, 2023, 9:05 a.m.