Re: [GRASS-user] Cluster whit area?

2010-08-05 Thread Etienne DELAY (deust 2010)
Le 04/08/10 21:37, Nikos Alexandris a écrit : (apologies for interfering...) Etienne wrote: Hi Dylan and everybody I'm come back. I have past this week on R for uderstand what you do in http://casoilresource.lawr.ucdavis.edu/drupal/node/340 Now it's great for R but... I don't understand

Re: [GRASS-user] Cluster whit area?

2010-08-05 Thread Etienne DELAY (deust 2010)
Le 05/08/10 19:48, Dylan Beaudette a écrit : On Thu, Aug 5, 2010 at 10:37 AM, Etienne DELAY (deust 2010) etienne.de...@etu.unilim.fr wrote: Le 04/08/10 21:37, Nikos Alexandris a écrit : (apologies for interfering...) Etienne wrote: Hi Dylan and everybody I'm come back. I have past this

Re: [GRASS-user] Cluster whit area?

2010-08-04 Thread Etienne DELAY (deust 2010)
Hi Dylan and everybody I'm come back. I have past this week on R for uderstand what you do in http://casoilresource.lawr.ucdavis.edu/drupal/node/340 Now it's great for R but... I don't understand how make a loop in grass in the web site we can read for x in `seq 1 5` do v.extract --o in=bclust

Re: [GRASS-user] Cluster whit area?

2010-08-04 Thread Nikos Alexandris
(apologies for interfering...) Etienne wrote: Hi Dylan and everybody I'm come back. I have past this week on R for uderstand what you do in http://casoilresource.lawr.ucdavis.edu/drupal/node/340 Now it's great for R but... I don't understand how make a loop in grass in the web site we can

Re: [GRASS-user] Cluster whit area?

2010-07-30 Thread Etienne DELAY (deust 2010)
Le 29/07/10 16:59, Leonardo Hardtke a écrit : Hi, you are missing something! library(spgrass6) #start grassR interface Vine1- readVECT6(vineyardheroiq...@etienne) #read vector as SpatialDataFrame Vine1.df=as.data.frame(Vine1) # Transform to dataframe library(clustTool) #start GUI Hi

Re: [GRASS-user] Cluster whit area?

2010-07-29 Thread Etienne DELAY (deust 2010)
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,

Re: [GRASS-user] Cluster whit area?

2010-07-29 Thread Leonardo Hardtke
Hi, you are missing something! library(spgrass6) #start grassR interface Vine1- readVECT6(vineyardheroiq...@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:

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Etienne DELAY (deust 2010)
Since I don't understand how library (clustTool) can run, I test the method described on the site that Dylan me advise ... http://casoilresource.lawr.ucdavis.edu/drupal/node/340 #etape 1 #lecture de la table x - read.table (vine, sep=|) names(x) - c('easting', 'northing', 'cat') y -

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Etienne DELAY (deust 2010)
Sorry, an error in copy / past with a capital letter here or one should not But an other probleme so : s - stepFlexclust(y, k=2:10, nrep=20) it's ok y.pam - pam(y, 5, stand=TRUE) plot(y$easting, y$northing, col=y.pam$clustering, main=Bugsites Spatial Clustering, 5 classes, cex=0.5, pch=16,

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Leonardo Hardtke
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

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Etienne DELAY (deust 2010)
Sorry about that, there were 2 typos on that page... Please try the updated version: http://casoilresource.lawr.ucdavis.edu/drupal/node/340 Cheers, Dylan Hi Dylan great it's run with out erreur... thank's But medoids aren't on all the points... look the screen print ... what I

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Etienne DELAY (deust 2010)
I made my excuses to you, it works perfectly ... thank you very much now I can go to bed happy :D -- Cordialement Etienne DELAY Deust Webmaster et gest. d'intranet (IDSkype : etienne.delay.tic) Master IUP valorisation du patrimoine et aménagement du territoire

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Leonardo Hardtke
On 07/28/2010 08:50 PM, Etienne DELAY (deust 2010) wrote: I made my excuses to you, it works perfectly ... thank you very much now I can go to bed happy :D Glad to hear it worked! Leonardo ___ grass-user mailing list grass-user@lists.osgeo.org

[GRASS-user] Cluster whit area?

2010-07-27 Thread Etienne DELAY (deust 2010)
Hello everyone I work with GRASS GIS, and arrives on time where I need to do a bit of statistics (aggregated plots clustered) so I turn to R. but I'm a noob, in R to... Does someone can give me a hand for my fist R experience? I installed R ... I find a module that area to do what I want :

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Etienne DELAY (deust 2010)
Bonjour Etienne! You are probably interested in the R statistics grass-wiki-page [1]. In this page, the See also Articles sections link to useful learning material. Nikos --- [1] http://grass.osgeo.org/wiki/R_statistics Hi Nikos :-) yes I read it now, and I come back whit more

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Etienne DELAY (deust 2010)
I'm come back :-) I want to try clustTool in GRASS, so I reset the region setting , I run R in grass, I run library(clustTool) That give mi a graphical environement, but I can't choose the data where I want to work!!! I just can choose exemple data... may be a basic question how to work on my

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Leonardo Hardtke
Hi, you can run R in a grass terminal, and load data via spgrass6 package, readRAST6 or readVECT6. Or export raster and read with rgdal. Hope it helps. Leonardo Hardtke On 07/27/2010 01:30 PM, Etienne DELAY (deust 2010) wrote: I'm come back :-) I want to try clustTool in GRASS, so I reset

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Dylan Beaudette
On 07/27/2010 01:30 PM, Etienne DELAY (deust 2010) wrote: I'm come back :-) I want to try clustTool in GRASS, so I reset the region setting , I run R in grass, I run library(clustTool) That give mi a graphical environement, but I can't choose the data where I want to work!!! I just

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Hamish
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 ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Etienne DELAY (deust 2010)
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