Skip to contents

Rescale x-axis to -1,1

Usage

rescale11x(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 -1 and 1