sample_rectangle: Sample n point regularly spaced on a rectangle

View source: R/utils_sampling.R

sample_rectangleR Documentation

Sample n point regularly spaced on a rectangle

Description

Sample n point regularly spaced on a rectangle

Usage

sample_rectangle(n = 200, scaling = 0, jitter = 10, x0, y0, x, y)

Arguments

n

number of points

scaling

expansion factor

jitter

jitter factor

x0, y0, x, y

coordinates of the center, width and height of the sampled rectangle

Value

a dataframe with x and y columns


picasa/generate documentation built on Feb. 28, 2025, 6:51 a.m.