Rev 27497 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: profiler.Rd,v 1.1 2003/12/11 07:16:06 ripley Exp $\name{profiler}\alias{profiler}\title{ Constructor for Profiler Objects for Nonlinear Models}\usage{profiler(fitted, \dots)}\arguments{\item{fitted}{ the original fitted model object.}\item{\dots}{ Additional parameters. See documentation on individualmethods.}}\description{Create a profiler object for the model object \code{fitted}.}\value{An object of class \code{"profiler"} which is a list with functionelements\item{getFittedPars()}{the parameters in \code{fitted}}\item{setDefault(varying, params)}{this is used for changing the default settings forprofiling. In absence of both parameters, the default is setto the original fitted parameters with all parametersvarying. The arguments are\code{varying}: a logical, integer or character vectorgiving parameters to be varied.\code{params}: the default value at which profiling is totake place.}\item{getProfile(varying, params)}{this can be used in conjunction with \code{setDefault}without any arguments. Alternatively, the parameters to bevaried and the values for fixed parameters can be specifiedusing the arguments. The arguments are\code{varying}: a logical vector giving parameters to bevaried. This can be omitted if params is a named list ornumeric vector.\code{params}: values for parameters to be held fixed.It returns a list with elements\code{parameters}: the parameter values for the profiledoptimum.\code{fstat}: a profile statistics. See individual methodsfor details.\code{varying}: a logical vector indicating parameterswhich were varied.}}\author{Douglas M. Bates and Saikat DebRoy}\seealso{\code{\link{profiler.nls}}, \code{\link{profile}}}\examples{# see documentation on individual methods}\keyword{nonlinear}\keyword{models}