Learn R Programming

citrus (version 1.0.2)

tree_abstract: 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.