VAJointSurv-terms | R Documentation |
The VAJointSurv package uses different functions to allow for expansions in time possibly with covariate interactions. The main usage of the functions is internally but they do provide an element called 'eval()' which is a function to evaluate the expansion. These functions take the following arguments:
x
numeric vector with points at which to evaluate the expansion.
der
integer indicating whether to evaluate the expansion, its integral,
or the derivative.
lower_limit
possible lower limit if integration is performed.
newdata
a data.frame
with new data if this is required.
E.g. for weighted_term
.
The supported terms are ns_term
, bs_term
,
poly_term
, weighted_term
, and a
stacked_term
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.