plot_samples: Print Sample Plots

Description Usage Arguments Value

View source: R/utils.R

Description

Superimposes sampling boxes over orthographic data. Predicts the level of cover using specified 'method'. ‘method' options are c(’lm', 'binom', 'lm3'). Default is 'lm', use 'lm3' for 3-band data.

Usage

1
2
3
4
5
6
7
8
plot_samples(
  in_path,
  out_path,
  polys = samples,
  year,
  type = "random",
  method = "lm"
)

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)

year

is an integer specifying the year of orthographic survey

type

is a character vector length 1 specifying sample type

method

is a character vector specifying model type

Value

prints rgb plots of 'polys' to 'out_path' & a csv of predicted results


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.