choose_location: Choose locations of simulated expeirment

Description Usage Arguments Value

View source: R/create_experiments.R

Description

Choose locations of simulated expeirment

Usage

1
choose_location(clustered_sf, n_locations)

Arguments

clustered_sf

sf; An sf object with a column cluster designating which cluster each polygon has been assigned to. Most like returned from finalize_clusters.

n_locations

integer; number of needed points.

Value

A matrix with columns x, y and nrows = n_locations. Values represent the coordinates of the locations clicked on the map.


smmueller/plotdesignr documentation built on Jan. 5, 2022, 10:55 a.m.