make_grid {ds4psy}R Documentation

Generate a grid of x-y coordinates.

Description

make_grid generates a grid of x/y coordinates and returns it (as a data frame).

Usage

make_grid(x_min = 0, x_max = 2, y_min = 0, y_max = 1)

Arguments

x_min

Minimum x coordinate. Default: x_min = 0.

x_max

Maximum x coordinate. Default: x_max = 2.

y_min

Minimum y coordinate. Default: y_min = 0.

y_max

Maximum y coordinate. Default: y_max = 1.

See Also

Other data functions: get_set()

Examples

make_grid()
make_grid(x_min = -3, x_max = 3, y_min = -2, y_max = 2)


[Package ds4psy version 1.0.0 Index]