random_points: Generate Random Points

View source: R/random_points.R

random_pointsR Documentation

Generate Random Points

Description

Generate n random points within a bounding box

Usage

random_points(bbox, n_points, seed = NULL)

Arguments

bbox

a bounding box object generated by st_bbox

n_points

the number of points to generate

seed

optionally use set.seed to make the point reproducible

Value

a sf object of points with the EPSG 27700


MatthewJWhittle/spatialutils documentation built on March 16, 2023, 11:30 p.m.