View source: R/B_splines_est.R
get_tau | R Documentation |
\tau_{i}
.A helper function that transforms the knots from generate_knots into the following form:
For i = -p , -p + 1, \dots , -2, -1 , m + 2, m + 3, \dots , m + p , m + p + 1,
it is equal to \tau_{i} = i / (m + 1)
, and for i = 0, \dots , m + 1,
it is \tau_{i} = \kappa_{i}.
See Choi, Li & Wang (2013) page 615 for details.
This is a helper function of get_taus.
get_tau(i, p, m, kVec)
i |
The knot index ( |
p |
The order of the splines. |
m |
The number of nonboundary knots. |
kVec |
Knot vector - see generate_knots. |
The numerical value of \tau_{i}.
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
kVec <- generate_knots(2)
get_tau(1, 3, 2, kVec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.