You might also take a look at the doBy package.
On Apr 14, 2008, at 7:30 AM, zerfetzen wrote:
> Thanks all. I will try to use both tapply and by, and have no idea
> how I
> missed the by function. Thanks again.
_
Professor Michael Kubovy
University of Virginia
Dep
On 4/14/2008 7:30 AM, zerfetzen wrote:
> Thanks all. I will try to use both tapply and by, and have no idea how I
> missed the by function. Thanks again.
One problem with both of those arises if you are subsetting on several
columns. They will do the calculations for all combinations of all
c
Thanks all. I will try to use both tapply and by, and have no idea how I
missed the by function. Thanks again.
--
View this message in context:
http://www.nabble.com/Equivalent-to-a-BY-command-in-SAS-tp16670452p16676280.html
Sent from the R help mailing list archive at Nabble.com.
___
On 14/04/2008, at 2:36 PM, zerfetzen wrote:
>
> Hi,
> I'm very new to R and absolutely love it. Does anyone know how to use
> something in R that functions like a BY command in SAS?
>
> For example, let's say you have a variable x, and you want to see
> the mean.
> Easy...
>
>> mean(x)
>
> But
Le dim. 13 avr. à 22:36, zerfetzen a écrit :
>
> Hi,
> I'm very new to R and absolutely love it. Does anyone know how to use
> something in R that functions like a BY command in SAS?
>
> For example, let's say you have a variable x, and you want to see
> the mean.
> Easy...
>
>> mean(x)
>
> But
On Sun, Apr 13, 2008 at 7:36 PM, zerfetzen <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm very new to R and absolutely love it. Does anyone know how to use
> something in R that functions like a BY command in SAS?
>
> For example, let's say you have a variable x, and you want to see the mean.
> Eas
Hi,
I'm very new to R and absolutely love it. Does anyone know how to use
something in R that functions like a BY command in SAS?
For example, let's say you have a variable x, and you want to see the mean.
Easy...
> mean(x)
But what if you want to see the mean of x conditional on another disc
7 matches
Mail list logo