Description Usage Arguments Details Value Author(s)
Generate the control net for a uni-variable B-spline
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
a |
... |
arguments passed to the regression method |
theta |
a vector of (regression) coefficients, the ordinates of the control net. |
formula |
a formula that is appropriate for regression method being used. |
data |
a required |
method |
the regression method such as |
keep_fit |
(logical, defaults to |
check_rank |
(logical, defaults to |
object |
a |
cn
generates the control net for the given B-spline function. There
are several methods for building a control net.
a cpr_cn
object. This is a list with the following elements.
Some of the elements are omitted when the using the cn.cpr_bt
method.
the control net, data.frame
with each row defining a vertex
of the control net
A list of the marginal B-splines
the call
logical, indicates if the regression models was retained
if isTRUE(keep_fit)
then the regression model is here,
else NA
.
regression coefficients, only the fixed effects if a mixed effects model was used.
The variance-covariance matrix for the coefficients
The log-likelihood for the regression model
The root mean squared error for the regression models
Peter DeWitt dewittpe@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.