summary.rseg {rseg} | R Documentation |
rseg
summary
method for objects of class rseg
.
## S3 method for class 'rseg' summary(object, ...)
object |
an object of class |
... |
not used. |
This function provides some information about rseg
objects.
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.
airq <- subset(airquality, !is.na(Ozone)) airct <- cseg(Ozone ~ ., data = airq) summary(airct)