View source: R/B_splines_est.R
generate_knots | R Documentation |
A helper function that generates m + 2
spline knots of the form:
\kappa_{0} = 0 , \kappa_{1} = 1 / (m + 1) , \dots , \kappa_{m} = m / (m + 1) , \kappa_{m + 1} = 1 .
The knots are equally spaced with boundary knots \kappa_{0} = 0
and \kappa_{m + 1} = 1 .
generate_knots(m)
m |
The number of nonboundary knots. |
A numeric vector representing the knots, including the boundary knots.
Choi, I., Li, B. & Wang, X. (2013). Nonparametric Estimation of Spatial and Space-Time Covariance Function. JABES 18, 611-630. https://doi.org/10.1007/s13253-013-0152-z
generate_knots(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.