i.spline.x | R Documentation |
Create the i_th splines basis for I_splines basis or C_splines basis
i.spline.x(xx, tt, i, k, delta = 1e-04, Cs = F)
xx |
values of of covariate |
tt |
values of knot sequence of the covariate |
i |
I_th splines basis |
k |
degree of the spline |
delta |
the length of the spans to split the range of covariate |
Cs |
indicator of whether the creation of C_splines basis is needed |
Creation of the i_th splines basis for I_splines basis or C_splines basis
i.spline.x
returns a vector of i_th splines basis for covariate values xx in knots i and degree k
Yili Hong
Hong. Y., Y. Duan, W. Q. Meeker, D. L. Stanley, and X. Gu (2014), Statistical Methods for Degradation Data with Dynamic Covariates Information and an Application to Outdoor Weathering Data, Technometrics, DOI: 10.1080/00401706.2014.915891.
m.spline.x
i.spline.x(xx=runif(20), tt=c(0, 0, 0, 0.3, 0.6, 0.8, 1, 1, 1 ), i=3, k=3,
delta = 1e-04, Cs = FALSE)
i.spline.x(xx=runif(20), tt=c(0, 0, 0, 0.3, 0.6, 0.8, 1, 1, 1 ), i=3, k=3,
delta = 1e-04, Cs = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.