phiX_c {MSIMST} | R Documentation |
The Function to Calculate the phiX Matrix for Estimating Single-Index Function
Description
The function phiX_c
is used to generate the phiX matrix associated with the Gaussian process prior.
Usage
phiX_c(Xbeta, u, L)
Arguments
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. |
Value
A n by L + 1 matrix.
Examples
L <- 50
u <- seq(-1,1,length.out = L + 1)
phiX <- phiX_c(0.5,u,L)
print(phiX)
[Package MSIMST version 1.1 Index]