Description Usage Arguments Value
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
.
1 | plot_samples(in_path, out_path, polys = samples, method = "lm", mod_path)
|
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 |
prints rgb plots of 'polys' to 'out_path'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.