Search the web
Sign In
New User? Sign Up
sportsci_rtutorial · Sportsci.org R tutorial
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Dummy Coding in R   Message List  
Reply | Forward Message #42 of 61 |
Re: Dummy Coding in R

Hi Payam,

Have a look at Session 11 dealing with factors. You have to coerce
your categorical variable into a factor. Maybe have a look at Session
3 as well. The example with aov will probably be very close to what
you want to do.

Cheers
Rob

--- In sportsci_rtutorial@yahoogroups.com, "pmahbobi" <pmahbobi@...>
wrote:
>
>
> Hi
>
> can anyone tell me how I can use dummy coding for a categorical
> predictor in regression model?
>
> I have numbers in one column and the qualitative variable in
another
> (west cost vs. east coast).
>
> how do I get R to do this for me?
>
>
> Thank you,
>
> Payam.
>





Tue Nov 27, 2007 12:57 pm

gerrobrein
Offline Offline
Send Email Send Email

Forward
Message #42 of 61 |
Expand Messages Author Sort by Date

Hi can anyone tell me how I can use dummy coding for a categorical predictor in regression model? I have numbers in one column and the qualitative variable in...
pmahbobi
Offline Send Email
Nov 27, 2007
12:51 pm

Hi Payam, Have a look at Session 11 dealing with factors. You have to coerce your categorical variable into a factor. Maybe have a look at Session 3 as well....
gerrobrein
Offline Send Email
Nov 27, 2007
12:58 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help