contour.wblr | R Documentation |
wblr
Objects
This function adds the .wblr
method to contour
from the graphics package.
## S3 method for class 'wblr' contour(x, ...)
x |
Object of class |
... |
Entry for a limited set of graphic parameters (col, lty, lwd, xlim, ylim, main and sub) |
This function provides S3 object functionality for plotting a likelihood ratio contour map for any single wblr object with just the contour function.
Contour parameters are drawn from a contour existing in the object(s) passed in, or from the base object (sometimes just defaults) if no contour exists in the object.
In order to plot contour maps from multiple objects onto a single canvas it is necessary to call contour.wblr specifically with a list of wblr objects as primary argument.
Unlike the contour
this map is not prepared from a matrix of z-values.
Rather the specific x,y points for each CL level (Z-value) are provided for plotting lines
connecting the points.
The contour.wblr function itself returns no value, however, the full output of contour points and parameters from the internally called WeibullR::plot_contour function is displayed.
set.seed(1234) da2 <- wblr.conf(wblr.fit(wblr(runif(5,100,1000),col="red"))) da3 <- wblr.conf(wblr.fit(wblr(rweibull(5,3,1000),col="green4"))) ## Not run: contour.wblr(list(da2,da3)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.