i'm a newbie to R and now I'm having trouble converting my numerical data into factors.
I read my cvs file into R with two types of variables (Time and result)
I am looking to see if time (numerical) has an impact on result (already 1 or 0).
I am trying to set time into three categories, >=12hr, 6hr<=time<12hr, and 0<=time<6hr.
How do i do it?
I tried some solutions online by some are converting the data into data frame. wondering if we are able to work with the tibble.