apply_scaling: Apply variable scaling

View source: R/main-create_model.R

apply_scalingR Documentation

Apply variable scaling

Description

Apply variable scaling

Usage

apply_scaling(scaling, x, inverse = FALSE)

Arguments

scaling

an object of class lgpscaling

x

object to which apply the scaling (numeric)

inverse

whether scaling should be done in inverse direction

Value

a similar object as x

See Also

Other variable scaling functions: create_scaling()


jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.