getX {ZVCV} | R Documentation |
ZV-CV design matrix
Description
The function getX
is used to get the matrix of covariates for the regression based on a specified polynomial order.
Usage
getX(samples, derivatives, polyorder)
Arguments
samples |
An |
derivatives |
An |
polyorder |
The order of the polynomial. |
Value
The design matrix for the regression (except for the column of 1's for the intercept).
See Also
Phi_fn
for a very similar function for use in semi-exact control functionals. The function Phi_fn
essentially gets the same matrix but with a column of ones added.
[Package ZVCV version 2.1.2 Index]