snm.control: Set Control Parameters for snm

View source: R/assist.R

snm.controlR Documentation

Set Control Parameters for snm

Description

Control parameters supplied in the function call replace the defaults to be used in calling snm.

Usage

snm.control(rkpk.control, nlme.control, prec.out=0.0005, 
  maxit.out=30, converg="COEF", incDelta)

Arguments

rkpk.control

a optional list of control parameters for dsidr or dmudr to estimate the unknown functions.

nlme.control

a list of control parameters for the nonlinear regression step, the same as nlmeControl. Default is list(returnObject = T, maxIter = 5).

prec.out

tolerance for convergence criterion. Default is 0.0005.

maxit.out

maximum number of iterations for the algorithm. Default is 30.

converg

an optional character, with possible values "COEF" and "PRSS", specifying the convergence criterion to be used. "COEF" uses the change of estimate of parameters and functions to assess convergence, and "PRSS" uses penalized residual sums of squares. Default is "COEF".

incDelta

specifies a small value as increment to calcuate derivatives. Default is 0.001.

Value

Returned is a list includes all re-seted control parameters.

Author(s)

Chunlei Ke chunlei_ke@yahoo.com and Yuedong Wang yuedong@pstat.ucsb.edu

See Also

snm, dsidr, dmudr

Examples

## Not run: 
## set maximum iteration to be 50
snm.control(maxit.out=50)

## End(Not run)

assist documentation built on Aug. 22, 2023, 9:12 a.m.

Related to snm.control in assist...