Learn R Programming

mets (version 0.2.4)

fast.approx: Fast approximation

Description

Fast approximation

Usage

fast.approx(time, new.time, y = time, ...)

Arguments

time
Original ordered time points
new.time
New time points
y
Optional function values (default is simply the identity) evaluated at the original time points time
...
Optional additional arguments

Value

  • List with the elements
  • approxApproximated function values (y1) evaluated in t2
  • posThe positions in t1 of the elements of t2 starting from index 0