search for: nholm

Displaying 1 result from an estimated 1 matches for "nholm".

Did you mean: holm
2009 Mar 16
1
Splitting variables
Dear R Users,I have a data set with several variables. One of these variables is the number of farms per county and I'd like to split this variable into two domains: (a) counties with fewer than 600 farms and (b) counties with 600 or more farms I've tried solving this problem for hours, but I'm new at R so I'm not getting there. if (x < 600) y <- x else z <- x didn't