plot | R Documentation |
plot method for linearRegressionResult
instance
plot method for logisticRegressionResult
instance
plot method for kMeansResult
instance
plot method for svmResult
instance
## S4 method for signature 'linearRegressionResult,ANY'
plot(x, title = "", xlab = "", ylab = "")
## S4 method for signature 'logisticRegressionResult,ANY'
plot(x, title = "", xlab = "", ylab = "")
## S4 method for signature 'kMeansResult,ANY'
plot(x, trace = F, title = "", xlab = "", ylab = "")
## S4 method for signature 'svmResult,ANY'
plot(x, X, y, type, title = "", xlab = "", ylab = "")
x |
A |
title |
title |
xlab |
xlab |
ylab |
ylab |
trace |
tracing centroids when algorithm progress |
X |
data matrix |
y |
class label, 0 or 1 |
type |
one of linear or nonlinear |
object |
A |
ggplot object
ggplot object
graph
ggplot2 graph object
Guangchuang Yu https://yulab-smu.top
Guangchuang Yu http://ygc.name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.