Description Usage Arguments Value Examples
Function used in definition of smooth terms within plbpsm
model formulae. The function does not
evaluate a (spline) smooth - it exists purely to help set up a model using spline based smooths.
1 2 |
... |
a list of variables that are the covariates that this smooth is a function of. |
N |
Number of interior knots in generating spline matrix. |
q |
Degree of polynomial spline. Default is 3. |
KnotsLocation |
A character string naming the way for knots locations. Default is "quantile". The only alternative is "uniform". |
knots |
An optional vector specifying the knots to be used in constructing spline bases. |
N_MI |
Number of interior knots in generating spline matrix in the model identification process. |
fx |
indicates whether the term is a fixed d.f. regression
spline ( |
id |
An identifying label or number for the smooth, linking it to other smooths. Defaults to |
These smooth.spec
objects define uivariate smooths and are turned into bases and penalties by
BasisCon
functions.
The returned object contains the following items:
term |
An array of text strings giving the names of the covariates that the term is a function of. |
N |
Number of interior knots in generating spline matrix. |
q |
Degree of polynomial spline. Default is 3. |
knotsLocation |
A character string naming the way for knots locations. Default is "quantile". The only alternative is "uniform". |
knots |
An optional vector specifying the knots to be used in constructing spline bases. |
N_MI |
Number of interior knots in generating spline matrix in the model identification process. |
fx |
|
dim |
The dimension of the smoother - i.e. the number of covariates that it is a function of. |
label |
A suitable text label for this smooth term. |
id |
An identifying label or number for the smooth, linking it to other smooths. Defaults to |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.