This is something rather basic but I just can't find existing answer (or don't know how to find it)
In the R language, I'm reading a column indicating an integer (in this case waiting time in minutes), but for zero minutes the string "No Delay" appears instead of an integer. What's the best way to deal with this in order to proceed?
as.integerwill make "No Delay" appear as NA. then you can overwrite those with NA as 0. Or you can replace all "No Delay" with 0 before usingas.integer