Re: [R] convert wind direction from degrees to basic compass directions

2010-10-23 Thread will phillips
Thank you David, I'll check that out too. Will -- View this message in context: http://r.789695.n4.nabble.com/convert-wind-direction-from-degrees-to-basic-compass-directions-tp3008773p3008807.html Sent from the R help mailing list archive at Nabble.com. ___

Re: [R] convert wind direction from degrees to basic compass directions

2010-10-23 Thread will phillips
Hello Josh, Thank you for the tip on the cut function. I'm new to R and have not come across this one yet. I'll give it a go. Regarding the rationale for segmenting the wind direction, I have not come across any theory to drive this. My motivation is model fit. This wind direction variable re

Re: [R] convert wind direction from degrees to basic compass directions

2010-10-23 Thread David Winsemius
On Oct 23, 2010, at 1:40 PM, will phillips wrote: Hello, I have a data set that includes a predictor variable "wind direction". This variable is in degrees with 0=North. I've put this predictor into a linear model and its coefficient is far from significant. I was thinking about conve

Re: [R] convert wind direction from degrees to basic compass directions

2010-10-23 Thread Joshua Wiley
On Sat, Oct 23, 2010 at 1:40 PM, will phillips wrote: > > Hello, > > I have a data set that includes a predictor variable "wind direction".  This > variable is in degrees with 0=North.  I've put this predictor into a linear > model and its coefficient is far from significant. > > I was thinking ab

[R] convert wind direction from degrees to basic compass directions

2010-10-23 Thread will phillips
Hello, I have a data set that includes a predictor variable "wind direction". This variable is in degrees with 0=North. I've put this predictor into a linear model and its coefficient is far from significant. I was thinking about converting this variable into 8 factors "north" "northwest" "wes