subsetThis: subsetThis()

Description Usage Author(s) Examples

View source: R/subsetThis.R

Description

subsetThis() takes a list of a directory and a shapefile of a study area and subsets all data in the directory to the shapefiles extend.

Usage

1
subsetThis(list, shapefile)

Author(s)

Pawel Kluter

Examples

1
2
3
4
5
6
7
# loading extent of study area -> shp-file
studyArea <- readOGR(dsn = "_vector_data", layer = "studyArea")
# addressing all merged images
allMosaics <- list.files("result_mosaic/")

# creating subset from all mosaics
subsetThis(allMosaics, studyArea)

kluter/LCquickVieweR documentation built on Dec. 3, 2020, 9:55 p.m.