check.initb: Check function: check brackets

View source: R/checks.R

check.initbR Documentation

Check function: check brackets

Description

This function checks the initial brackets provided by the user for the invertci function. It can either be NULL or a numeric of length 2. The initial brackets have to be finite.

Usage

check.initb(init.b, name.var, bd)

Arguments

init.b

An initial bracket.

name.var

The name of the initial bracket.

bd

A string that indicates whether the initial bracket for the lower bound (lb) or the upper bound (ub) is being evaluated.

Value

Returns the following intervals.

lb

The lower bound of the initial bracket.

ub

The upper bound of the initial bracket.


conroylau/lpinfer documentation built on Oct. 25, 2024, 4 a.m.