Example of function "timeDifference"

set.seed(100)
start <- 10
record <- runif(20, 5, 15)
diff <- timeDifference(t0 = start, times = record)
diff
tibble::tibble(start, record, timeDifference = diff)
## timeDifference() returns the substration of times and one time point. 


jchen032294/expSmooth documentation built on May 17, 2019, 1:29 p.m.