David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Christopher Desjardins
Sent: Thursday, July 19, 2012 7:35 PM
To:
--
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Christopher Desjardins
Sent: Thurs
--
>> David L Carlson
>> Associate Professor of Anthropology
>> Texas A&M University
>> College Station, TX 77843-4352
>>
>> > -Original Message-
>> > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
>> >
] On Behalf Of Christopher Desjardins
> > Sent: Thursday, July 19, 2012 7:35 PM
> > To: R help
> > Subject: [R] Changing ungrouped cases to grouped cases
> >
> > Hi,
> > I have my data the following way:
> >
> > y A B C
> > 0 11 2
v(order(y,A,B,C))),]
dat3
y A B C
2 2 1 1 2
1 1 1 2 1
3 0 1 2 2
A.K.
- Original Message -
From: Christopher Desjardins
To: R help
Cc:
Sent: Thursday, July 19, 2012 8:34 PM
Subject: [R] Changing ungrouped cases to grouped cases
Hi,
I have my data the following way:
y A B
p-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Christopher Desjardins
> Sent: Thursday, July 19, 2012 7:35 PM
> To: R help
> Subject: [R] Changing ungrouped cases to grouped cases
>
> Hi,
> I have my data the following way:
>
> y A B
Hi,
I have my data the following way:
y A B C
0 11 2
0 12 1
1 11 2
0 11 2
1 11 2
1 12 1
0 12 2
.
.
.
And so on. How can I make my data look like the following:
y A B C
2 1 1 2
1 1 2 1
0 1 2 2
.
.
.
7 matches
Mail list logo