PerformBootstrapFit {hivModelling}R Documentation

PerformBootstrapFit

Description

Perform bootstrap fit

Usage

PerformBootstrapFit(
  runId,
  context,
  data,
  mainResults,
  maxNoFit = 30,
  ctol = 1e-06,
  ftol = 1e-05,
  ...
)

Arguments

runId

Bootstrap run index. Must be greater than 0, which is reserved for the main fit.

context

List of parameters. Required.

data

Input data as data.table. Required.

mainResults

Main results

maxNoFit

Maximum number of amoeba iterations. Optional. Default = 30.

ctol

Minium required deviance in consecutive lambda estimations. Optional. Default = 1e-6.

ftol

Minium required deviance in amoeba calculations. Optional. Default = 1e-5.

...

Additional arguments passed to amoeba function. Optional.

Value

Results list object

Examples

## Not run: 
PerformBootstrapFit(context, data, maxNoFit = 2, ctol = 1e-6, ftol = 1e-5, verbose = TRUE)

## End(Not run)


[Package hivModelling version 0.9.10 Index]