bisec.print: Print messages in bisection procedure and store results

View source: R/invertci.R

bisec.printR Documentation

Print messages in bisection procedure and store results

Description

This function prints the information in ci.bisection and store the result for each iteration.

Usage

bisec.print(procedure, alpha, returnlist, a, b, progress, dp, df_bis)

Arguments

procedure

The variable indicating whether the function is evaluating the end-points or first mid-point, or is iterating through the bisection procedure.

alpha

The significance level(s). This can be a vector.

returnlist

The list of information obtained from running bisec.eval.

a

The lower bound of the current interval. This is NULL if the initial end-points are being evaluated.

b

The upper bound of the current interval. This is NULL if the initial end-points are being evaluated.

progress

The boolean variable for whether the result messages should be displayed in the procedure of constructing confidence interval. If it is set as TRUE, the messages are displayed throughout the procedure. Otherwise, the messages will not be displayed.

dp

The number of decimal places in the output.

df_bis

A data frame storing the information from the bisection method.

Value

Return the updated data frame that stores the information for the the iteration.

df_bis

The data frame storing the information for the bisection method in each iteration.


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.