Re: [R] Plot of a subset of a data.frame()

2010-07-27 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 27.07.2010 00:48:52: > > On Jul 26, 2010, at 10:56 AM, Steffen Uhlig wrote: > > > Dear David, Petr, and Alain, > > > > thank you very much for your fast responses. It's a typical > > "handbook-not-read-error" at my side. I will dig deeper into the >

Re: [R] Plot of a subset of a data.frame()

2010-07-26 Thread David Winsemius
On Jul 26, 2010, at 10:56 AM, Steffen Uhlig wrote: Dear David, Petr, and Alain, thank you very much for your fast responses. It's a typical "handbook-not-read-error" at my side. I will dig deeper into the plot-functions and the assignment of data. I was not aware of that the vector "a" i

Re: [R] Plot of a subset of a data.frame()

2010-07-26 Thread Steffen Uhlig
Dear David, Petr, and Alain, thank you very much for your fast responses. It's a typical "handbook-not-read-error" at my side. I will dig deeper into the plot-functions and the assignment of data. I was not aware of that the vector "a" is handled as a vector of factors with 10 levels. Thanks f

Re: [R] Plot of a subset of a data.frame()

2010-07-26 Thread David Winsemius
On Jul 26, 2010, at 7:38 AM, Steffen Uhlig wrote: Hello, my data.frame is sort of a collection of process values, i.e. huge run-chart. It consists of a time-stamp in the first column (date as string), factors in the following columns (used for subset- filtering), and some process-data col

Re: [R] Plot of a subset of a data.frame()

2010-07-26 Thread ONKELINX, Thierry
You could have a look at the ggplot2 package to make such plots. The code for the plots is more readable than with base plots. a = c(1:10) # create a vector of integers b = rep(c("a","b"),5) # create a vector of chars, used # as factor-levels d = rnorm(10) # some ran

Re: [R] Plot of a subset of a data.frame()

2010-07-26 Thread Alain Guillet
Hello, It is completely normal. I advise you to read the manual "An introduction to R" on the CRAN website. For example you can find (part 12.1.1) : 12.1.1 The |plot()| function One of the most frequently used plotting functions in R is the |plot()| function. This is a /generic/ f