I have a data.frame called dat. I want to add a new column to it called dif. Then, in each row if lower and upper range i
dat
dif
lower
upper