View source: R/b-spline-covariate-repr.R
b_spline_covariate_repr | R Documentation |
Represent the matrix of covariates for the b-spline
b_spline_covariate_repr( x, knots, basis = dt:::b_spline_basic_radial_basis, label = "spline", ... )
x |
values to calculate spline values for |
knots |
knot locations |
basis |
basis function to use for calculating the spline values |
label |
1-length character vector used to prefix the resulting set of column names |
... |
further arguments to the basis function |
a representation of the spline value per x value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.