Learn R Programming

GGIR (version 3.2-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)

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.

Arguments

myfun

See applyExtFunction

windowsizes

See g.getmeta).

Author

Vincent T van Hees <v.vanhees@accelting.com>