discretize: Replace Infinites by discrete values

View source: R/ggtikzUninfinite.R

discretizeR Documentation

Replace Infinites by discrete values

Description

The replacement values correspond to the edges of the available coordinate space

Usage

discretize(coord_values, xrange, yrange)

Arguments

coord_values

numeric. The coordinate x and y values, potentially containing Inf or -Inf

xrange

Numeric vector of length 2, minimum and maximum values in the x direction

yrange

Numeric vector of length 2, minimum and maximum values in the y direction


osthomas/ggtikz documentation built on June 16, 2024, 6:55 a.m.