Apply variable scaling

apply_scaling(scaling, x, inverse = FALSE)

scaling | an object of class lgpscaling |
---|---|

x | object to which apply the scaling (numeric) |

inverse | whether scaling should be done in inverse direction |

a similar object as `x`

Other variable scaling functions:
`create_scaling()`