Learn R Programming

xspliner (version 0.0.4)

transition: Extract variable transformation from xspliner

Description

Extract variable transformation from xspliner

Usage

transition(model, ...)

# S3 method for xspliner transition(model, predictor, type = "function", ...)

Arguments

model

xspliner model

...

Other parameters passed to method. Currently not used.

predictor

variable name for which transformation should be extracted

type

If 'function' then transformation function is extracted. For 'base' there is sourced object on which transformation was built - in case of quantitative variable GAM model, for qualitative factorMerger.