t; #1 1 0.033556
> #2 2 0.011120
> #3 3 0.017750
> #4 4 0.030220
> #5 5 0.062060
> A.K.
>
> - Original Message -
> From: li li
> To: r-help
> Cc:
> Sent: Thursday, August 16, 2012 9:31 PM
> Subject: [R] Apply a function acco
: r-help
Cc:
Sent: Thursday, August 16, 2012 9:31 PM
Subject: [R] Apply a function according to factor levels.
Dear all,
I have a question on applying a function to the data according to factor
levels.
For example, for the data below, what is the best way to apply a function
to
"values
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of li li
Sent: Thursday, August 16, 2012 8:31 PM
To: r-help
Subject: [R] Apply a function according to factor levels.
Dear all,
I have a question on applying a function to the data according to
factor
levels.
li li
> Sent: Thursday, August 16, 2012 8:31 PM
> To: r-help
> Subject: [R] Apply a function according to factor levels.
>
> Dear all,
>I have a question on applying a function to the data according to
> factor
> levels.
> For example, for the data below, what is
Dear all,
I have a question on applying a function to the data according to factor
levels.
For example, for the data below, what is the best way to apply a function
to
"values" according to different levels of "samples" (1,2,3,4,5)?
values ind sample
1 0.03325 1 1
2 0.03305 1
5 matches
Mail list logo