bs.index: Auxiliary function to return the indices for bootstrap...

View source: R/misc.R

bs.indexR Documentation

Auxiliary function to return the indices for bootstrap replications

Description

This function is used to return the starting and ending indices for bootstrap replications.

Usage

bs.index(R, R.eval, R.succ, maxR)

Arguments

R

The number of bootstrap replications.

R.eval

The number of bootstrap replications that has been evaluated.

R.succ

The number of successful bootstrap replications.

maxR

The maximum number of bootstrap replications.

Value

Returns the following three objects.

i0

The starting index to be evaluated.

i1

The last index to be evaluated.


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