50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

cmaRs (version 0.1.3)

summary.cmaRs: A summary function designed for CMARS

Description

This function allows you to print the output of CMARS model.

Usage

# S3 method for cmaRs
summary(object, ...)

Value

An S3 model of class "summary.cmaRs"

Arguments

object

A cmaRs object which is constructed by cmaRs.

...

Additional arguments affecting the summary result.

Examples

Run this code
if (FALSE) {
# 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)
summary.cmaRs(model.prediction)
}

Run the code above in your browser using DataLab