Hi everybody, I'm a total newbie in RStudio so please bear with me in case my question sounds stupid.
I have a simple dataframe consisting of daily observations (time series), across three different stations.
So each observation includes:
- the day,
- station name and
- observed value
(three columns only).
Unfortunately the values are cumulated and include the past ones.
I would like to mutate() the dataframe to include the daily observations for each station (I must perform several tests): what is the simplest approach?
Many thanks for your help!