Description Usage Arguments Value
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.
1 2 3 4 5 6 7 8 | plot_samples(
in_path,
out_path,
polys = samples,
year,
type = "random",
method = "lm"
)
|
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 |
prints rgb plots of 'polys' to 'out_path' & a csv of predicted results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.