ClassVal: Validate a Tree Prediction with TreeCrown Segments

Description Usage Arguments Value Author(s)

View source: R/ClassVal.R

Description

calculates the amount of cells for a class which overlap with responding Polygons.

Usage

1
ClassVal(pred, rsp, rsp_class = NULL, reclass = NULL)

Arguments

pred

RasterLayer - Prediction to be validated

rsp

PolygonLayer - Response Polygons for a class

rsp_class

numeric - The class representing the response area

reclass

optional - numeric value of class to merge into response class, for multiple classes to merge use reclass=c(x,y)

Value

returns the validation score

Author(s)

Andreas Schönberg


SchoenbergA/IKARUS documentation built on Sept. 8, 2021, 11:11 a.m.