Learn R Programming

mets (version 0.1-8)

fastapprox: Fast approximation

Description

Fast approximation

Usage

fastapprox(t1, t2, y1 = t1, ...)

Arguments

t1
Original ordered time points
t2
New time points
y1
Optional function values (default is simply the identity) corresponding to the original time points t1
...
Optional additional arguments

Value

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