inpolygon_var: Select data that are outside a chosen polygon

View source: R/poly_functions.R

inpolygon_varR Documentation

Select data that are outside a chosen polygon

Description

Select and slice the data of a var_list that are outside a polygon

Usage

inpolygon_var(var_list, pol)

Arguments

var_list

list containing the variables extracted from read_nc or load_var

pol

polygon of class "sf", "sfc" or "sfg"

Value

var_list containing the variables, coordinates and metadata of the selected data

Examples

## Not run: masked_list = inpolygon_var(var_list, polygone)

BSt-Denis/gslcoenv documentation built on Feb. 10, 2023, 7:53 a.m.