as.basis.formula function

Convert Formula or Factor to Basis Function