get_experiment_data: Subset simulation data to experimental polygons

Description Usage Arguments Value

View source: R/simulation_helpers.R

Description

Subset simulation data to experimental polygons

Usage

1
get_experiment_data(experiment_list, simulation_data)

Arguments

experiment_list

named list; named list of sf objects returned from make_experiment describing experiment polygons. Must be named with the strings that should be used as ID's.

simulation_data

sf; A named list of sf objects returned from get_test_data. This is the data that will be used in simulation experiments.

Value

An sf object of the simulation_data point observatoins, subset to only though intersecting with the polygons in experiment_list. Each point is identified by id (name of experiment from experiment_list), block, and plot. If experiments overlap, the overlapping points will be once for each experiment.


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