Normalisation is specified using the f_n and f_n_para arguments. In these, f_n should be a character
string which is the name of a normalisation
function. For example, f_n = "n_minmax" calls the n_minmax() function. f_n_para is a list of any
further arguments to f_n. This means that any function can be passed to Normalise(), as long as its
first argument is x, a numeric vector, and it returns a numeric vector of the same length. See n_minmax()
for an example.
COINr has a number of built-in normalisation functions of the form n_*(). See online documentation
for details.
f_n_para is required to be a named list. So e.g. if we define a function f1(x, arg1, arg2) then we should
specify f_n = "f1", and f_n_para = list(arg1 = val1, arg2 = val2), where val1 and val2 are the
values assigned to the arguments arg1 and arg2 respectively.
See also vignette("normalise") for more details.