Description Usage Arguments Details Value Author(s) References See Also Examples
Takes as central values the results of non-linear least square fitting by the nls(base, stats) function, then draws a contour plot of the residual sum of squares function around these values.
1 2 | nlscontour(x, param1 = 1, param2 = 2, range1 = NULL, range2 = NULL,
npoints = 100, filled = FALSE,colored=FALSE)
|
x |
a |
param1 |
The number of the first parameter to plot in the parameters list of model formula |
param2 |
The number of the second parameter to plot |
range1 |
The range (min and max) for plotting parameter |
range2 |
The range (min and max) for plotting parameter |
npoints |
Number of points of the grid for |
filled |
Defines the style of the contour plot FALSE: lines (default), TRUE: filled contours (shades of gray) |
colored |
Defines the style of the contour plot FALSE: lines (default), TRUE: Colored contours (red= lower) |
npoints
defines the total number of points of the square grid used for drawing the contour plot. Thus, the grid will be of size round(sqrt(npoints))*round(sqrt(npoints))
an object of class nlsgrid
with three components:
$x |
the values used for the first parameter |
$y |
the values used for the second parameter |
$grid |
a square matrix: The values of the residual sum of squares for each combination of the parameters |
...
Jean-Sebastien Pierre
Jean-sebastien.pierre@univ-rennes1.fr
~put references to the literature/web site here ~
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.