c: r-help@r-project.org
> Subject: Re: [R] recode() function results in logical output, not
> factor output
>
> On 1/7/2008 3:32 PM, Thomas MacFarland wrote:
> > Dear R Users:
> >
> > I have race-ethnicity groups identified in the factor variable
> Ethnic_G.
> >
On 1/7/2008 3:32 PM, Thomas MacFarland wrote:
> Dear R Users:
>
> I have race-ethnicity groups identified in the factor variable Ethnic_G.
>
> I need to collapse Ethnic_G into a new variable with only two factors, 1
> (White, non-Hispanic) and 2 (Minority).
>
> As seen in the code and output
Dear R Users:
I have race-ethnicity groups identified in the factor variable Ethnic_G.
I need to collapse Ethnic_G into a new variable with only two factors, 1
(White, non-Hispanic) and 2 (Minority).
As seen in the code and output below, the recoded race-ethnicity variable is
put into logi
3 matches
Mail list logo