powered by
For a given set of points in X, computes the orthonormal Legendre polynomials basis of L2 [a,b] for a given degree.
lb(degree, a = 0, b = 1, jmax = NULL, X = NULL)
polynomial degree.
lower shift value (default - 0).
upper shift value (default - 1).
number of high-frequency lags.
optional evaluation grid vector.
Psi weight matrix with Legendre functions upto degree.
degree
# NOT RUN { degree <- 3 jmax <- 66 lb(degree = degree, a = 0, b = 1, jmax = jmax) # }
Run the code above in your browser using DataLab