plot_samples: Print Sample Plots

Description Usage Arguments Value

View source: R/plot.R

Description

Given a shapefile of sampling boxes, and a path to a directory of 4-band ortho-imagery prints rgb and/or ndvi plots of the sampling area with numbered boxes superimposed. While the function prints both rgb and ndvi by default, the user can turn either off by setting either the rgb or ndvi arguments to FALSE.

Usage

1
plot_samples(in_path, out_path, polys = samples, method = "lm", mod_path)

Arguments

in_path

is a character vector containing the path to the orthoimagery

out_path

is a character vector specifying the output directory for the plots

polys

is a SpatialPolygonsDataFrame object (the sample boxes shapefile)

method

is a character vector specifying model type

mod_path

is a character vector specifying the filepath to model

Value

prints rgb plots of 'polys' to 'out_path'


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.