# create some data for example
data <- data.frame(
id = rep(c(1, 2), each = 4),
time = c(0, 3, 4, 6,
1, 4, 5, 7)
)
# create missings to approximate continuous time process
create_missings(
data = data, id = "id", time = "time",
tinterval = 1 # use time interval of 1 minute
)
Run the code above in your browser using DataLab