Subtract values from columns based on sequence and create results in new columns
I need to subtract a sequence of values from 0 to 20 from a data frame column.
In the example below I have daily temperatures and I need to create a sequence of columns with the subtractions.