calcStatsStart: Ancillary function used in getTrainData_ for initial...

View source: R/SOptim_GetTrainData.R

calcStatsStartR Documentation

Ancillary function used in getTrainData_ for initial processing (by tile)

Description

Performs data aggregation ops necessary to calculate the number of pixels per class and segment ID.

Usage

calcStatsStart(x)

Arguments

x

A data.frame or matrix with two columns named: "SID" (segment ID's) and "train" (with train class or NA)

Value

A data.frame with preliminary training data.


joaofgoncalves/SegOptim documentation built on Feb. 5, 2024, 11:10 p.m.