Scale each feature vector into a user-specified range for visualisation and modelling
Source:R/normalise.R
normalise.Rd
`normalise()` and `normalize()` are synonyms.
Arguments
- data
either a
feature_calculations
object containing the raw feature matrix produced bytheft::calculate_features
or avector
of classnumeric
containing values to be rescaled- norm_method
character
denoting the rescaling/normalising method to apply. Can be one of"zScore"
,"Sigmoid"
,"RobustSigmoid"
,"MinMax"
, or"MaxAbs"
. Defaults to"zScore"
- unit_int
Boolean
whether to rescale into unit interval[0,1]
after applying normalisation method. Defaults toFALSE