Skip to contents

Get limit range from ts by scaled maximum value

Usage

get_limit(x, mar.frac = 1.5)

Arguments

x

A numeric vector.

mar.frac

A numeric. Scaling factor for the margin. Default is 1.5.

Value

A vector. c(-amax, +amax) * mar.frac.