I'm trying to make estimates of missing values in my dataset.
In my dataset I have distance, time and speed
However, I am missing time and therefore speed data.
Is there a way to estimate time and speed from known data? Is it possible to create as a model on R to be able to have a theoretical time?
Here is an example of my dataset that I simplified. It is more complex in nature than that because it is more partitioned :
df <- tribble( ~time, ~depth, ~speed, 8, 400, 50, 15, 400, 26.67, 17.25, 390, 22.61, 23, 526, 22.87, NA, 330, NA, NA, 240, NA, )
Created on 2022-05-17 by the reprex package (v2.0.1)
Thanks very much