check.flag_optimal_params {TimeDepFrail}R Documentation

Check coherence between flag for optimal parameters and optimal parameters

Description

The function controls that one of the following condition is satisfied:

Usage

check.flag_optimal_params(optimal_params, flag_optimal_params)

Arguments

optimal_params

Either a numerical vector of length equal to the number of model parameters or a NULL value.

flag_optimal_params

Logical value. Did the user want to provide optimal parameters vector? If so, the variable should be TRUE; otherwise (no optimal parameters), FALSE.

Value

An error if any condition is not satisfied.


[Package TimeDepFrail version 0.0.0.9 Index]