Extract variable transformation from xspliner

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.