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 3 |
... |
a list of variables that are the covariates that this smooth is a function of. |
d |
degree of polynomials. |
r |
smoothness and r ≤q d |
V |
an |
Tr |
a |
b |
Boundary of the domain of sample points. |
nt |
A parameter controls the number of total triangles. |
Holes |
Information of holes of polygon. |
B |
Bernstein basis matrix |
Q2 |
The |
K |
Energy matrix for constructing penalty matrix |
ind |
An ordering indices of observation points, in which the cnt[j]+1th to cnt[j+1]th elements are indices of points in the jth triangle. |
lambda |
The default set of smoothing penalty parameter to be chosen from |
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 bivariate smooths and are turned into bases and penalties by
BasisCon
functions.
The returned object contains the following items:
d |
degree of polynomials. |
r |
smoothness and |
V |
an |
Tr |
a |
ind |
An ordering indices of observation points corresponding to index of triangles. |
B |
Bernstein basis matrix |
K |
Energy matrix for constructing penalty matrix |
lambda |
The default set of smoothing penalty parameter to be chosen from |
term |
An array of text strings giving the names of the covariates that the term is a function of. |
fixed |
|
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.