opt_paramsNLS: Performs non-linear least squares parameter optimisation.

Description Usage Arguments Value

View source: R/opt_paramsNLS.R

Description

Performs non-linear least squares parameter optimisation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
opt_paramsNLS(
  initParams,
  lower = NULL,
  upper = NULL,
  plotSum,
  tColStr,
  modelFunc = NULL,
  modelFuncRes = NULL,
  modelFuncSus = NULL,
  control = nls.control(),
  algorithm = "port",
  ...
)

Arguments

initParams

initial guess parameter values for optimiser to improve upon

lower

lower bound of parameter values for optimiser to search

upper

upper bound of parameter values for optimiser to search

plotSum

target experimental data

tColStr

name of matrix's column to be used as measure of time, e.g. "DAT"

modelFuncRes

function containing the resistant variety model to be solved

modelFuncSus

function containing the susceptible variety model to be solved

control

nls control object

...

unmodified parameters (incl. isNonDim, N0, args(optional), plotArea and residFunc) to be passed to opt_residuals()

Value

non-linear least squares (nls) object


SharpRT/NFRR_Philippines documentation built on Dec. 18, 2021, 1:05 p.m.