PerformBootstrapFit {hivModelling}R Documentation

PerformBootstrapFit

Description

Perform bootstrap fit

Usage

PerformBootstrapFit(
  runId,
  context,
  data,
  mainResults,
  maxNoFit = 30,
  ctol = 1e-06,
  ftol = 1e-05,
  algorithm = "NLOPT_LN_BOBYQA",
  verbose = FALSE
)

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.

algorithm

Name of optimization algorithm from package nloptr to use for bootstrap iterations. Default = 'NLOPT_LN_BOBYQA'

verbose

Logical indicating to print detailed info during fitting. Optional. Default = FALSE

Value

Results list object

Examples

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

## End(Not run)


[Package hivModelling version 0.9.13 Index]