global_poly_helper | R Documentation |
Constructing and evaluating the global polynomials, to account for boundary conditions (design matrix)
global_poly_helper(x, p = 2)
x |
A vector of locations to evaluate the global polynomials |
p |
An integer value indicates the order of smoothness |
A matrix with i,j componet being the value of jth basis function value at ith element of x, the ncol should equal to p, and nrow should equal to the number of elements in x
global_poly(x = c(0, 0.2, 0.4, 0.6, 0.8), p = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.