Description Usage Arguments Value Side Effects See Also Examples
This is a method for the function plot
for
objects inheriting from class nlreg.contours
.
1 2 3 4 |
x |
a |
alpha |
a numerical vector defining the levels of the contours; the default
is |
drawlabels |
logical value. Contours are labelled if |
lwd1, lwd2 |
the line widths used to compare different curves in the same
plot; default is |
lty1, lty2 |
line types used to compare different curves in the same plot;
default is |
cl1, cl2, col |
colors used to compare different curves in the same plot; default
is |
pch1, pch2 |
character types used to compare different values in the same plot;
default is |
cex |
the character expansions relative to the standard size of the
device to be used for printing text. The default is
|
... |
additional graphics parameters. |
No value is returned.
A plot is produced on the current graphics device.
nlreg.contours.object
,
contour.all.nlreg.profiles
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
data(metsulfuron)
metsulfuron.nl <-
nlreg( formula = log(area) ~ log( b1+(b2-b1) / (1+(dose/b4)^b3) ),
weights = ~ ( 1+dose^exp(g) )^2, data = metsulfuron,
start = c(b1 = 138, b2 = 2470, b3 = 2, b4 = 0.07, g = log(0.3)),
hoa = TRUE )
##
metsulfuron.prof <- profile( metsulfuron.nl, trace = TRUE )
metsulfuron.cont <- contour( metsulfuron.prof, ret = TRUE, plotit = FALSE )
par( mai = rep(0.2, 4) )
plot( metsulfuron.cont )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.