Learn R Programming

GGIR (version 2.6-0)

check_myfun: Checks myfun object before it is passed to applyExtfunction

Description

Checks that object myfun is a list and check the elements of the list for: that element names are as expected, that value of each element is of the expected type and length.

Usage

check_myfun(myfun, windowsizes)

Arguments

windowsizes

See g.getmeta).

Value

0 if all checkes passed, 1 if one or more checks did not pass. Error message are printed to the console with feedback on which checks did not pass.