Description Usage Arguments Value Author(s) See Also
Plot the predictions of logistic regression classifier
1 2 3 4 |
x |
an object of class |
pch |
A vector of at most length 2 indicating the plotting symbols to be used to differentiate the two true classes. If
|
col |
A vector of at most length 2 indicating the colors of the plotted points in order to differentiate the two true classes.
If |
scale |
A numeric value in (0, 1] that controls scaling of the horizontal axis. A value of 1 corresponds to the standard,
linear scale. Values closer to 0 symetrically 'zoom-in' the axis near 0 and 1 while 'zooming-out' the axis in the neighborhood
of 0.5. Values of |
seed |
Single numeric value that sets the seed for the random jitter of the vertical axis of the plot. |
parArgs |
If desired, a list of named arguments that will be passed to |
legendArgs |
If desired, a list of named arguments that will be passed to |
lineArgs |
If desired, a list of named arguments that will be passed to |
textArgs |
If desired, a list of named arguments that will be passed to |
... |
Arguments passed to |
A plot showing the predicted probabilities of the logisitic regression classifier, with a vertical bar showing the value of the probability threshold, τ.
Landon Sego
See glmnetLRC
for an example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.