dot-add_modelinfo: Add model information to a personalised-model-ctree

Description Usage Arguments Value

Description

For internal use.

Usage

1
.add_modelinfo(x, nodeids, data, model, coeffun)

Arguments

x

constparty object.

nodeids

node ids, usually the terminal ids.

data

data.

model

model.

coeffun

function that takes the model object and returns the coefficients. Useful when coef() does not return all coefficients (e.g. survreg).

Value

tree with added info. Class still to be added.


model4you documentation built on Dec. 6, 2019, 3 p.m.