Skip to content

Newbie question: Reclassifying raster (ndvi) using fisher method

1 message · Agustin Lobo

#
I think that you should avoid importing to R the whole
raster, which is not required for classIntervals(). Just
make an stats table with r.stats -c, export the resulting table (DN,freq 
for each DN)
to R, and then either (i) make an small (subsampled) version
of the object "var" required by classIntervals (statistically,
the intervals will be the same) or
(ii) make an slight modification to the classIntervals code in
which the function would accept the stats table instead of var.

Agus