plot.logitreg | R Documentation |
Draws the fitted logistic regression function describing the posterior probability that two sites are analogues conditional upon the dissimilarity between the two samples. Confidence intervals are also computed and displayed if requested.
## S3 method for class 'logitreg'
plot(x, group = "all", npred = 100,
conf.int = 0.9, conf.type = c("none", "polygon", "lines"),
xlab = expression(D[ij]), ylab = "Pr (A+ | d)",
rug = TRUE, ticksize = 0.02,
col = "red", ref.col = "lightgrey",
lwd = 2, conf.lwd = 1, conf.lty = "dashed",
shade = "lightgrey", ...)
x |
object to plot; an object of class |
group |
The group to plot the logit model for. Can be one of the
group labels or |
npred |
number of points at which the fitted curves are evaluated for plotting purposes. |
conf.int |
numeric; the confidence interval required. |
conf.type |
character; how should the confidence interval be drawn. Default is not to draw the confidence interval. |
xlab , ylab |
character; the x and y axis labels. |
rug |
logical; should rug plots be drawn? |
ticksize |
The size of the tick marks used in rug plots. |
col |
The colour in which to draw the line representing the fitted values. |
ref.col |
The colour of the reference lines drawn at 0 and 1. |
lwd |
The line width in which to draw the line representing the fitted values. |
conf.lwd , conf.lty |
Line width and line type for the confidence
interval. Only used if |
shade |
The colour for the fill and border of the confidence
interval if |
... |
arguments passed on to |
A plot on the current device.
Gavin L. Simpson
logitreg
for an example, roc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.