-- Original Message -
From: Dimitri Liakhovitski
To: r-help
Cc:
Sent: Friday, December 7, 2012 7:27 AM
Subject: [R] Assigning cases to groupings based on the values of several
variables
Dear R-ers,
my task is to simple: to assign cases to desired groupings based on the
combined values on
>
>
>
> - Original Message -
> From: Dimitri Liakhovitski
> To: r-help
> Cc:
> Sent: Friday, December 7, 2012 7:27 AM
> Subject: [R] Assigning cases to groupings based on the values of several
> variables
>
> Dear R-ers,
>
> my task is to simple:
My example data indeed looks regular, but in reality neither the data nor
the assignments are regular.
E.g., sometimes all females would land in one grouping and males of
different ages will land in different groupings.
So, I am afraid the "with" solution won't work.
Dimitri
On Fri, Dec 7, 2012 at
On 12-12-07 7:27 AM, Dimitri Liakhovitski wrote:
Dear R-ers,
my task is to simple: to assign cases to desired groupings based on the
combined values on 2 variables. I can think of 3 methods of doing it.
Method 1 seems to me pretty r-like, but it requires a lot of lines of code
- onerous.
Since
4 matches
Mail list logo