powered by
The function phiX_c is used to generate the phiX matrix associated with the Gaussian process prior.
phiX_c
phiX_c(Xbeta, u, L)
A n by L + 1 matrix.
The single index values. A vector of length n.
The vector spanning from -1 to 1 with length L + 1.
An integer defining the number of nodes.
L <- 50 u <- seq(-1,1,length.out = L + 1) phiX <- phiX_c(0.5,u,L) print(phiX)
Run the code above in your browser using DataLab