PerformMainFit {hivModelling}R Documentation

PerformMainFit

Description

Perform main fit

Usage

PerformMainFit(
  context,
  data,
  param = NULL,
  info = NULL,
  maxNoFit = 30L,
  ctol = 1e-06,
  ftol = 1e-05,
  algorithm = "NLOPT_LN_BOBYQA",
  verbose = FALSE
)

Arguments

context

List of parameters. Required.

data

Input data as data.table. Required.

param

List of parameters. Optional. Default = NULL.

info

List of parameters. Optional. Default = NULL.

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: 
PerformMainFit(
  context, data, param, info, maxNoFit = 2, ctol = 1e-6, ftol = 1e-5, verbose = TRUE
)

## End(Not run)


[Package hivModelling version 0.9.13 Index]