Skip to contents

Rescale x-axis to 0,1

Usage

rescale01x(x, xlim = NULL)

Arguments

x

The input array to be rescaled

xlim

The limit of the rescaling. If NULL, the range of x is used.

Value

A rescaled array based on the input array and provided limit that provides values between 0 and 1