Learn R Programming

gaselect (version 1.0.23)

formatSegmentation: Format the raw segmentation list returned from the C++ code into a usable list

Description

Format the raw segmentation list returned from the C++ code into a usable list

Usage

formatSegmentation(object, segments)

# S4 method for GenAlgPLSEvaluator,list formatSegmentation(object, segments)

# S4 method for GenAlgUserEvaluator,list formatSegmentation(object, segments)

# S4 method for GenAlgLMEvaluator,list formatSegmentation(object, segments)

# S4 method for GenAlgFitEvaluator,list formatSegmentation(object, segments)

Value

A list of the form replication -> outerSegment -> (calibration, validation, inner -> (test, train))

Arguments

object

The Evaluator object.

segments

The raw segmentation list.