prep_plotting_arg: Preprocess evaluation grid for plotting

View source: R/graphics.R

prep_plotting_argR Documentation

Preprocess evaluation grid for plotting

Description

(internal function exported for re-use in upstream packages)

Usage

prep_plotting_arg(f, n_grid)

Arguments

f

a tf-object.

n_grid

length of evaluation grid.

Value

a semi-regular grid rounded down to appropriate resolution.

See Also

Other tidyfun developer tools: ensure_list(), unique_id()

Examples

f <- tfd(sin(seq(0, 2 * pi, length.out = 21)), arg = seq(0, 1, length.out = 21))
prep_plotting_arg(f, n_grid = 50)

tf documentation built on April 7, 2026, 5:07 p.m.