Description Usage Arguments Value Examples
Fit simple nonparametric regression model with cubic B-splines
1 | oracle.Bspl(Y, X, d, plot = FALSE, x = NULL, alpha = 0.05)
|
Y |
a response vector (centered) |
X |
vector of covariate observations |
d |
the number functions in the cubic B-spline basis |
x |
a vector of values at which evaluations of the fitted function should be returned/plotted |
a |
logical indicating whether a plot of the fitted function should be generated |
a list containing the fitted function and a vector containing the values of the fitted function at the design points
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.