bpcpControl {bpcp}R Documentation

Inputs for adjusting numerical calculations in bpcp

Description

Function that returns a list of arguments.

Usage

bpcpControl(midpMMTol = .Machine$double.eps^0.25, 
    seed=49911,
    tolerance=.Machine$double.eps^0.5)

Arguments

midpMMTol

value used for tol argument in uniroot call for calculating the midp method of moments method.

seed

seed for set.seed() when using Monte Carlo method. If is.null(seed) then do not set the seed.

tolerance

lowest positive value, such that abs(x-y)<tolerance treats x as equal to y. Used in bpcp for seeing if difference between times are equal to Delta or not.

Details

When doing simulations on the Monte Carlo method, set seed=NULL. Then the seed will not be set at each replication. The default is to set the seed to 49911, so two analyses of the same data on the same version of R will give identical results.

Value

A list with components named as the arguments.


[Package bpcp version 1.4.2 Index]