ps maybe the hybrid approach would be best - you insert in your big times <- seq(0, 1900, by = 0.1)
also the vector of "times" A
. This is pretty easy in R - for example, you c()
the two vectors, and then you sort()
the resulting vector. This removes the need for approx()
in f
. However, I do agree these are technical details - not suitable for CV, but good for chat or for Stack Overflow.