phiX_c {MSIMST} | R Documentation |
The function phiX_c
is used to generate the phiX matrix associated with the Gaussian process prior.
phiX_c(Xbeta, u, L)
Xbeta |
The single index values. A vector of length n. |
u |
The vector spanning from -1 to 1 with length L + 1. |
L |
An integer defining the number of nodes. |
A n by L + 1 matrix.
L <- 50
u <- seq(-1,1,length.out = L + 1)
phiX <- phiX_c(0.5,u,L)
print(phiX)