Description Usage Arguments Value
View source: R/segment_classification_functions.R
Run an existing rF in predictive mode on mn and sd for each polygon, extracted from a raster
1 2 | rF_predictions_to_polygons(rF_model, segments_shp, WV2image, append_shp = F,
target_class = "EG", outp_shp)
|
rF_model |
an .rdata file that holds an rF classifier named "rF" |
segments_shp |
a polygon shapefile of landscape elements that need to be classified |
WV2image |
an image to extract mn and sd from, for each polygon, as input to the rF |
append_shp |
should the original fields of segments.shp be retained in the output? |
target_class |
(for rF classifiers only) if a target.class is given, only polygons predicted by the rF to be this class will be retained in the output |
outp_shp |
name for the output shapefile |
a polygon shapefile, akin to segments.shp that has one field, holding with the output of the rF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.