Thanks,
I'm trying but I receive an error.
1. In R I started the libraries spgarass6 and classInt
2. I imported the DTM in R using DTM <- readRAST6("DTM@mapset",
ignore.stderr=TRUE)
3. I used the command DTM_class <- classIntervals(DTM, n=5,
style="fisher") and I received the error
Error in classIntervals(DTM, n = 5, style = "fisher") :
var is not numeric
Any suggestion?
Salvatore
Il giorno 16/mag/2012, alle ore 17:58, Luigi Ponti ha scritto:
> Hi Salvatore,
>
> On 16/05/2012 17:38, Salvatore Mellino wrote:
>> Hi,
>>
>> I have a DTM raster map and I want to classify it in 5 classes by means of
>> natural break method
>> (http://en.wikipedia.org/wiki/Jenks_natural_breaks_optimization). Is it
>> possible with GRASS.
>
> I usually do that via the R package classInt
> http://cran.r-project.org/web/packages/classInt/index.html
>
> which requires using the GRASS-R interface. For a general overview of the
> integration, see
> http://grass.osgeo.org/wiki/R_statistics
>
> Kind regards,
>
> Luigi
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user