The fraction of the distance of each value of x from the lower "goalpost" to the upper one. Goalposts are specified by
gposts = c(l, u, a), where l is the lower bound, u is the upper bound, and a is a scaling parameter.
Details
Specify direction = -1 to "flip" the goalposts. In this case, the fraction from the upper to the lower goalpost is
measured.
The goalposts equations are:
$$ (x - GP_{low})/(GP_{high} - GP_{low}) $$
and for a negative directionality indicator:
$$ (x - GP_{high})/(GP_{low} - GP_{high}) $$
This function also supports parameter specification in iMeta for the Normalise.coin() method.
To do this, add columns:
goalpost_lower: the lower goalpostgoalpost_upper: the upper goalpostgoalpost_scale: the scaling parametergoalpost_trunc2posts: corresponds to thetrunc2postsargument
to the iMeta table. Then set f_n_para = "use_iMeta" within the
global_specs list. See also examples in the normalisation vignette.