rescale

0th

Percentile

Simple linear rescaling of positions

Simple linear rescaling of positions

Usage
rescale(pos, newmin = -1, newmax = 1, oldmin = min(pos),
  oldmax = max(pos))
Arguments
pos

position data to be rescaled

newmin

indicates the minimum of the new scale (default is -1)

newmax

indicates the maximum of the new scale (default is +1)

oldmin

indicates the minimum of the existing scale. Can be used to rescale from a known theoretical scale (e.g. -100). If left empty the empirical minimum is used.

oldmax

indicates the maximum of the existing. See above.

Aliases
  • rescale
Documentation reproduced from package manifestoR, version 1.2.4, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.