Compute base splines of a variable using the R function splines::bs, use in the transform stage.
splines::bs
Useful links