When i run the below code the following error pops up
data$`EAG Soil Moisture [%] 120cm` <- diff(log(data$`EAG Soil Moisture [%] 120cm`))
> Error:
! Assigned data `diff(log(data$\`EAG Soil Moisture [%] 120cm\`))` must be compatible with existing data.
x Existing data has 3577 rows.
x Assigned data has 3576 rows.
i Only vectors of size 1 are recycled.
Run `rlang::last_error()` to see where the error occurred.