tfire, TIBCO Software
> wdunlap tibco.com
>
>
>> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
>> Behalf
>> Of arun
>> Sent: Thursday, February 21, 2013 1:45 PM
>> To: Johannes Brand
>> Cc: R
wdunlap tibco.com
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf
> Of arun
> Sent: Thursday, February 21, 2013 1:45 PM
> To: Johannes Brand
> Cc: R help
> Subject: Re: [R] remove rows in data frame by ave
,res2$Subject))
> res2
> # Subject Block Feature1 Feature2
> #1 1 1 55.0 29.0
> #2 1 2 42.5 38.5
> #3 1 3 64.0 14.0
> #4 2 1 51.0 25.0
> #5 2 2 56.5 45.0
> #6 2 3 38.0
56.5 45.0
#6 2 3 38.0 28.0
A.K.
- Original Message -
From: Johannes Brand
To: r-help@r-project.org
Cc:
Sent: Thursday, February 21, 2013 12:02 PM
Subject: [R] remove rows in data frame by average
Dear all,
I have a data frame, which looks like this:
Subject | Block | Trial
Dear all,
I have a data frame, which looks like this:
Subject | Block | Trial | Feature1 | Feature2
1 | 1 | 1 | ... | ...
1 | 1 | 2 | ... | ...
1 | 2 | 1 | ... | ...
1 | 2 | 2 | ... | ...
1 | 3 | 1 | ... | ...
...| ...| ...| ... | ...
Can I remove the "Trial" column by averaging all the row
5 matches
Mail list logo