Learn R Programming

TimeDepFrail (version 0.1.0)

check.index: Check Existence of Provided Input Index

Description

The method controls that the provided input index exists: it cannot be greater than the maximum number of parameters of the current model.

Usage

check.index(index, n_params)

Value

An error if any condition is not satisfied.

Arguments

index

Index with respect to which the user wants to study the one dimensional behaviour of the log-likelihood function.

n_params

Number of parameters of the model