[GRASS-user] Cluster whit area?

Leonardo Hardtke leohardtke at gmail.com
Thu Jul 29 10:59:40 EDT 2010


Hi, you are missing something!

library(spgrass6) #start grassR interface
Vine1<- readVECT6("VineyardHeroique1 en etienne") #read vector as SpatialDataFrame
Vine1.df=as.data.frame(Vine1) # Transform to dataframe

library(clustTool) #start GUI

On 07/29/2010 05:17 AM, Etienne DELAY (deust 2010) wrote:
> Hi Leonardo
> this morning I try your trick :-p
> But can you explain in more detail the handling ..
>
> I run Grass
> Run R in GARSS
> library(spgrass6)
> Vine1.df=as.data.frame(Vine1)
> He make an erreur
> Erreur dans as.data.frame(Vine1)
>
> So if you can get me more help... :-)
> Thank tou
>
>
> Le 28/07/10 20:21, Leonardo Hardtke a écrit :
>    
>> Hi!
>> I never used clustTool before.
>>   I made a try and i think I found the trick :-).
>>   You have to transform your (SpatialPointDataFrame) data to a dataframe...
>>      Vine1.df=as.data.frame(Vine1)
>>   and then you can "Set acctive data" in the GUI!
>> hope it helps!
>>
>> Leonardo
>> On 07/27/2010 09:06 PM, Etienne DELAY (deust 2010) wrote:
>>      
>>> Le 27/07/10 20:35, Hamish a écrit :
>>>
>>>        
>>>> Leonardo wrote:
>>>>
>>>>          
>>>>> you can run R in a grass terminal, and load data via
>>>>> spgrass6 package,
>>>>> readRAST6 or readVECT6.
>>>>>
>>>>>            
>>>> see  http://grass.osgeo.org/wiki/R_statistics
>>>>
>>>>
>>>>          
>>> Thank you Leonardo, but I read it, without understanding much more about
>>> the use of clustTool... (it's ok whit readVECT ;-) )
>>> I dont understand...
>>>
>>> library(spgrass6)
>>>
>>> Vine1<- readVECT6("VineyardHeroique1 en etienne")
>>> library(clustTool)
>>>
>>> it's run a graphical windows...
>>> an I can't choose my data.... ;-(
>>>
>>> so I need an other help....
>>>
>>> thank you
>>>
>>>
>>>        
>> _______________________________________________
>> grass-user mailing list
>> grass-user en lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>      
>
>    



More information about the grass-user mailing list