[R] Multiline and grouping in R

2010-06-29 Thread Pablo Cerdeira
Hi All, this is my first mail here. I'm trying to plot a multiline chart grouping values with no success. I have read a lot in the official Wiki and also searched via Google, but I did not find anything. I'm importing some data from a cvs file. Here is a sample: YEAR,AREA,CASES 1988,CONTRACTS,2

Re: [R] Multiline and grouping in R

2010-06-29 Thread Pablo Cerdeira
he auto.key list. > > There are **many** options in xyplot() and other Lattice graphics > functions, so you have the capability of fine tuning a graph to meet your > specifications. > > HTH, > Dennis > > > On Tue, Jun 29, 2010 at 5:42 PM, Pablo Cerdeira > wrote: &

Re: [R] Multiline and grouping in R

2010-06-30 Thread Pablo Cerdeira
gt; ~ Roger Brinner > > The combination of some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of > data. > ~ John Tukey > > > > -Oorspronkelijk bericht- > > Van: r-help-boun...@r-project.org &g

[R] Plot map Brazil and documentation

2010-06-30 Thread Pablo Cerdeira
Dear all, I'm trying to plot some data over a geographic map. I'm reading the documentation (?map)... The problem is here: *map(database = "world", regions = ".", exact = FALSE, boundary = TRUE,* * interior = TRUE, projection = "", parameters = NULL, orientation = NULL,* * fill = FALSE, col =

[R] Cluster analysis

2010-07-26 Thread Pablo Cerdeira
Hi all, I have no idea if this question is to easy to be answered, but I´m starting with R. So, here we go. I have a large dataset with a lot of steps a judicial case. A sample is attached. I´d like to do a cluster analysis to try to understand with one is the most usual path followed by this le

Re: [R] Cluster analysis

2010-07-27 Thread Pablo Cerdeira
8-10-12 00:00:00","MIN. PAULO BROSSARD",6677 1480183,2,20,3,"ADIADO O JULGAMENTO","1991-07-01 00:00:00",32,"FÓRUM DA COMARCA DE RANCHARIA","1988-10-12 00:00:00","MIN. PAULO BROSSARD",6677 1480183,2,21,158,"DECISAO PUBLICADA, DJ:&quo

Re: [R] Cluster analysis

2010-07-27 Thread Pablo Cerdeira
ions are there? > > HTH, Jim > > On Jul 26, 2010 9:44 AM, "Pablo Cerdeira" > wrote: > > Hi all, > > I have no idea if this question is to easy to be answered, but I´m starting > with R. So, here we go. > > I have a large dataset with a lot of steps a judicia

[R] Pattern recognition

2010-07-28 Thread Pablo Cerdeira
Dear all, I'm trying to use some technic to do a pattern recognition over a large dataset. I really don't have any idea on how to do that using R. Here is a sample of the data: id,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 1480010,208,69,180,465,465,241,241,69,584,26,75,578,507,75,284 1480183,208,69,35

Re: [R] Pattern recognition

2010-07-28 Thread Pablo Cerdeira
This is a good example of what I'm looking for: [image: dendrogram.jpg] Best On Thu, Jul 29, 2010 at 12:01 AM, Pablo Cerdeira wrote: > > Dear all, > > I'm trying to use some technic to do a pattern recognition over a large > dataset. I really don't have any

[R] The condition has length > 1 and only the first element will be used

2010-08-03 Thread Pablo Cerdeira
Hi All, I'm trying to run the following script in R, but I'm getting a warning saying: Warning message: In if (z < 0) { : the condition has length > 1 and only the first element will be used As you can see, I'm sending a vector x to the function f without any problem. The function f calculates

Re: [R] The condition has length > 1 and only the first element will be used

2010-08-03 Thread Pablo Cerdeira
e, Aug 3, 2010 at 8:03 AM, Pablo Cerdeira wrote: > Hi All, > > I'm trying to run the following script in R, but I'm getting a warning saying: > > Warning message: > In if (z < 0) { : >  the condition has length > 1 and only the first element will be used > >

[R] Plot in cartesian plane

2010-08-17 Thread Pablo Cerdeira
Hi all, I'm trying to plot this two curves in a single cartesian plane, but when I plot the first one, the plot appears with no negative "y" value. When I plot the second curve, it almost does not apear in the graph. I was trying the plot.window but with no success. Can someone help me with this

Re: [R] Plot in cartesian plane

2010-08-17 Thread Pablo Cerdeira
oogle] <http://www.google.com/profiles/pablo.cerdeira> [image: Google Talk/]pablo.cerdeira [image: Skype/]pablocerdeira On Wed, Aug 18, 2010 at 2:14 AM, Charles C. Berry wrote: > On Wed, 18 Aug 2010, Pablo Cerdeira wrote: > > Hi all, >> >> I'm trying to plot this