lookup | R Documentation |
Interpolate values from a lookup table
lookup(table, t)
table |
a ‘covartable’ object created by a call to |
t |
numeric vector; times at which interpolated values of the covariates in |
A numeric vector or matrix of the interpolated values.
If t
is outside the range of the lookup table, the values will be extrapolated, and a warning will be issued.
The type of extrapolation performed will be constant or linear according to the order
flag used when creating the table.
More on interpolation:
bsplines
,
covariates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.