plit.nls2 - Plot an nls2 Object for Studying the Iterative Process
On to:
DESCRIPTION
USAGE
REQUIRED-ARGUMENTS
OPTIONAL-ARGUMENTS
CONSTRAINT
DETAILS
SEE-ALSO
EXAMPLE
DESCRIPTION:
Plot the components of an `nls2.object'
that may help the study of the iterative process of the estimation.
The plots are:
- the numerical results against the iteration numbers,
- the estimated values of the parameters
and their variations against the iteration numbers.
USAGE:
plit.nls2(nls2.object, step=nls2.object$nb.steps,
wanted=list(num.res=T, estim=T),
start=0,
title="#", figsR=c(3, 1),
figsE=c(1, 2),
ask.pause=T, ask.modify=F, ...)
REQUIRED ARGUMENTS:
- nls2.object
-
an object of class `nls2'.
OPTIONAL ARGUMENTS:
- step
-
when the `nls2.object' has been created by an alternated method of estimation,
the index of the step requested.
By default, the last step.
- wanted
-
a list that specifies the graphs requested;
Its components are logics that should be TRUE if the corresponding
graphs are requested.
"wanted" components and their meanings are:
"num.res": the numerical results
("lambda", "stop.crit", "stat.crit")
"estim": the estimated values of the parameters
and their variations.
- start
-
the number of the first iteration to be considered.
-
title,figsR,figsE,ask.pause,ask.modify,...
-
See `pldnls2'.
"figsR" controls
the screen layout for the plots of the numerical results.
"figsE" controls
the screen layout for the plots of the
estimated values of the
parameters.
CONSTRAINT:
A graphical device should have been previously activated,
but, be careful: device PostScript may not work properly on all sites.
`nls2.object' should contain intermediate results:
the "it.steps" option should have been set in the control
argument of the command that created the object.
(See `nls2.control', argument `it.steps'.)
DETAILS:
This function is a method for the generic function `plit'
for class `nls2'.
It can be invoked by calling `plit' for an object of the appropriate
class, or directly by calling `plit.nls2' regardless of the
class of the object.
SEE ALSO:
EXAMPLE:
X11()
plit(nls2.out, wanted=list(num.res=T, estim=F),
ask.pause=F, title="Data cortisol")
- Mon Sep 30 1996 -