check_cross: Check cross for argument coherence
Description
Check cross for argument coherence
Usage
check_cross(ref_arg, eval_arg, arg_names)
Value
An error message if eval_arg does not fit the ref_arg length.
Arguments
- ref_arg
the argument for reference length.
- eval_arg
the argument to evaluate.
- arg_names
vector string with arguments names (ref_arg and eval_arg)