How do I create a new column in my DF of daily measurements that gives me the increase between today’s and yesterday’s measurement?
So i have a collumn of datapoints for daily measurments in my DF. I would like to add a new collumn to said DF that tells me the increase or decrease of this measurment in comparisson to yesterdays.
Basically by how much the measurment increased since yesterday.
So i have:
R: How do i create a new collumn in my DF of daily measurments that gives me the increase between todays and yesterdays measurment?
So i have a collumn of datapoints for daily measurments in my DF. I would like to add a new collumn to said DF that tells me the increase or decrease of this measurment in comparisson to yesterdays.
Basically by how much the measurment increased since yesterday.
So i have: