Learn R Programming

dots (version 0.0.2)

engine_terra: Generate Points with terra

Description

Uses terra::dots() to produce points and transforms back to sf. Each engine function takes the same arguments and produces comparable outputs.

Usage

engine_terra(shp, col)

Value

tibble with sf geometries

Arguments

shp

input shp with sf geometry.

col

character column name to produce points with

Examples

Run this code
set.seed(1)
data('suffolk')
engine_terra(suffolk, 'pop_nhpi')

Run the code above in your browser using DataLab