search for: surv_time

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

Did you mean: survey_time
2009 Oct 13
2
Greater than less than in "ifelse"
I'm trying to categorize a continuous variable (yes, I know that's horrible, but I'm trying to reproduce some exercises from a textbook) and don't really know an efficient way to do this. I have a data frame that looks like: surv_time relapse sex log_WBC rx 1 35 0 1 1.45 0 2 34 0 1 1.47 0 3 32 0 1 2.20 0 4 32 0 1 2.53 0 And I'm trying to categorize log_WBC into: (0-2.30) = "low" (2.31-3.00)= "medium" (>3.00) = "high&...