tree_abstract: Abstraction layer function

View source: R/tree_segment.R

tree_abstractR Documentation

Abstraction layer function

Description

Organises the model outputs, predictions and settings in a general structure

Usage

tree_abstract(model)

Arguments

model

The model to organise

Value

A structure with the class name "tree_model" which contains a list of all the relevant model data, including the rpart model object, hyper-parameters, segment table and the labelled customer lookup table.


citrus documentation built on June 17, 2022, 5:06 p.m.