prepare_basis | R Documentation |
Calculate all basis functions over observation time points and store them as columns in a single matrix for each dimension. Also include first and second order derivative. Repeat over quadrature points.
prepare_basis(basis, times, nquadpts)
basis |
A basis object. |
times |
The vector contain observation times for corresponding dimension. |
nquadpts |
Number of quadrature points will be used later for approximating integrals. |
Phi.mat |
Evaluations of all basis functions stored as columns in the matrix. |
Qmat |
Evaluations of all basis functions over quadrature points stored as columns in the matrix. |
Q.D1mat |
Evaluations of first order derivative all basis functions over quadrature points stored as columns in the matrix. |
Q.D2mat |
Evaluations of second order derivative all basis functions over quadrature points stored as columns in the matrix. |
quadts |
Quadrature points. |
quadwts |
Quadrature weights. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.