summary.rseg: Summary of objects of class 'rseg'

Description Usage Arguments Details Value Examples

Description

summary method for objects of class rseg.

Usage

1
2
## S3 method for class 'rseg'
summary(object, ...)

Arguments

object

an object of class rseg fit by cseg, eseg or rseg.

...

not used.

Details

This function provides some information about rseg objects.

Value

A list of three to four elements: 1) segments contains the number of segments in object, rules contains a vector of the decision rules that define the segments in object and 3) size contains a vector of segment sizes in object. 4) In case of Model-based Recursive Segementation there is a fourth element containing the summaries of the models fit to the segments.

Examples

1
2
3
airq <- subset(airquality, !is.na(Ozone))
airct <- cseg(Ozone ~ ., data = airq)
summary(airct)

rseg documentation built on May 2, 2019, 6:38 p.m.

Related to summary.rseg in rseg...