Learn R Programming

mizer (version 2.0.3)

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)

Arguments

params

A MizerParams object

effort

An effort vector

Value

TRUE if effort is valid. Throws an error otherwise.