These functions provide an interpolation mechanism for objects of
AsIs method is the vectorized version.
1 2 3 4 5
A vector of times at which interpolation is requested.
The name of the covariate on which interpolation is
requested. It is only required if
If objects of class
lgtdl are inserted into a data frame they
become a vector with class
AsIs. In order to operate on these
we provide a method for that class. The method is simply a vectorized
interpprev.lgtdl returns a numeric vector of the interpolated
values of the covariate at the time(s) specified by
interpprev.AsIs returns a vector of interpolated values of the
covariate. In this case the vector contains one value for each element
time must be either the same length as
of length one. In the latter case all interpolations are done at that
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.