Check out the tapply function.
?tapply
Julian
Bernd Jagla wrote:
> Hi,
> I am new to R and couldn't find any information on how to handle my table
> data that I just read in the way I want to use it..
>
> I read in a table from a file:
> x <- read.delim("filenam", header=TRUE)
>
> one column (
GREAT!!!
Thanks so much !!!
-B
|-Original Message-
|From: John Kane [mailto:[EMAIL PROTECTED]
|Sent: Thursday, October 25, 2007 1:45 PM
|To: Bernd Jagla; 'Henrique Dallazuanna'
|Cc: r-help@r-project.org
|Subject: Re: [R] data frame usage
|
|I think I also misunderstood. It s
I hope you understand better what I mean
>
> Thanks again,
>
> Bernd
>
> |-Original Message-
> |From: Henrique Dallazuanna
> [mailto:[EMAIL PROTECTED]
> |Sent: Thursday, October 25, 2007 1:34 PM
> |To: Bernd Jagla
> |Cc: r-help@r-project.org
> |Subject: R
, ?echo?)$class1
|
| What should echo be?
|
| Thanks,
| B
|
| |-Original Message-
| |From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED]
| |Sent: Thursday, October 25, 2007 1:15 PM
| |To: Bernd Jagla
| |Cc: r-help@r-project.org
| |Subject: Re: [R]
ld echo be?
>
> Thanks,
> B
>
> |-Original Message-
> |From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED]
> |Sent: Thursday, October 25, 2007 1:15 PM
> |To: Bernd Jagla
> |Cc: r-help@r-project.org
> |Subject: Re: [R] data frame usage
> |
> |Hi,
> |
> |tapp
-help@r-project.org
|Subject: Re: [R] data frame usage
|
|Hi,
|
|tapply(x$val, x$label, summary)
|
|
|
|On 25/10/2007, Bernd Jagla <[EMAIL PROTECTED]> wrote:
|
| Hi,
| I am new to R and couldn't find any information on how to handle my
|table
| data that I just read i
Hi,
tapply(x$val, x$label, summary)
On 25/10/2007, Bernd Jagla <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I am new to R and couldn't find any information on how to handle my table
> data that I just read in the way I want to use it..
>
> I read in a table from a file:
> x <- read.delim("filenam", hea
Hi,
I am new to R and couldn't find any information on how to handle my table
data that I just read in the way I want to use it..
I read in a table from a file:
x <- read.delim("filenam", header=TRUE)
one column (x$label) hold the class labels. Another holds some values
(x$val).
I want to calcul
8 matches
Mail list logo