Rev 2136 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: gnlsControl.Rd,v 1.8 2002/03/05 14:59:39 bates Exp $\name{gnlsControl}\title{Control Values for gnls Fit}\usage{gnlsControl(maxIter, nlsMaxIter, msMaxIter, minScale, tolerance,nlsTol, msTol, msScale, returnObject, msVerbose,apVar, .relStep, nlmStepMax, minAbsParApVar)}\alias{gnlsControl}\arguments{\item{maxIter}{maximum number of iterations for the \code{gnls}optimization algorithm. Default is 50.}\item{nlsMaxIter}{maximum number of iterationsfor the \code{nls} optimization step inside the \code{gnls}optimization. Default is 7.}\item{msMaxIter}{maximum number of iterationsfor the \code{ms} optimization step inside the \code{gnls}optimization. Default is 50.}\item{minScale}{minimum factor by which to shrink the default step sizein an attempt to decrease the sum of squares in the \code{nls} step.Default 0.001.}\item{tolerance}{tolerance for the convergence criterion in the\code{gnls} algorithm. Default is 1e-6.}\item{nlsTol}{tolerance for the convergence criterion in \code{nls}step. Default is 1e-3.}\item{msTol}{tolerance for the convergence criterion in \code{ms},passed as the \code{rel.tolerance} argument to the function (seedocumentation on \code{ms}). Default is 1e-7.}\item{msScale}{scale function passed as the \code{scale} argument tothe \code{ms} function (see documentation on that function). Defaultis \code{lmeScale}.}\item{returnObject}{a logical value indicating whether the fittedobject should be returned when the maximum number of iterations isreached without convergence of the algorithm. Default is\code{FALSE}.}\item{msVerbose}{a logical value passed as the \code{trace} argument to\code{ms} (see documentation on that function). Default is\code{FALSE}.}\item{apVar}{a logical value indicating whether the approximatecovariance matrix of the variance-covariance parameters should becalculated. Default is \code{TRUE}.}\item{.relStep}{relative step for numerical derivativescalculations. Default is \code{.Machine$double.eps^(1/3)}.}\item{nlmStepMax}{stepmax value to be passed to nlm. See\code{\link{nlm}} for details. Default is 100.0}\item{minAbsParApVar}{numeric value - minimum absolute parameter valuein the approximate variance calculation. The default is \code{0.05}.}}\description{The values supplied in the function call replace the defaults and alist with all possible arguments is returned. The returned list isused as the \code{control} argument to the \code{gnls} function.}\value{a list with components for each of the possible arguments.}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{gnls}}, \code{\link{lmeScale}}}\examples{# decrease the maximum number iterations in the ms call and# request that information on the evolution of the ms iterations be printedgnlsControl(msMaxIter = 20, msVerbose = TRUE)}\keyword{models}