validate_effort_vector: Check that an effort vector is specified correctly
Description
Throws an error with an explanatory message when the supplied effort
vector is not valid for the model described by params.
Usage
validate_effort_vector(params, effort)
Value
TRUE if effort is valid. Throws an error otherwise.