VAJointSurv-terms: Expansions in the VAJointSurv package

VAJointSurv-termsR Documentation

Expansions in the VAJointSurv package

Description

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.


VAJointSurv documentation built on Aug. 14, 2022, 9:05 a.m.