plot.cmaRs {cmaRs} | R Documentation |
A plot function designed for prediction of CMARS
Description
This function allows you to construct three different plots, namely actual versus predicted response; fitted values versus standardized residuals; and standardized residuals versus order if the model is constructed for prediction purpose. Moreover, Receiver Operating Characteristic Curve of classification models can be produced.
Usage
## S3 method for class 'cmaRs'
plot(x, ...)
Arguments
x |
A cmaRs object which is obtained by prediction. |
... |
Additional parameters. |
Value
An S3 model of class "plot.cmaRs"
Examples
## Not run:
# Without \code{MOSEK}, the example code is not executable.
# For installation of Mosek, plese see the documentation of 'Rmosek'.
data("trees", package = "datasets")
model.prediction <- cmaRs(Volume ~ ., degree = 5, nk = 20, data = trees)
plot.cmaRs(model.prediction)
## End(Not run)
[Package cmaRs version 0.1.3 Index]