| backfitter | R Documentation |
Fits a model of the form \hat{f}(x) = \hat{g}_{1}(x_S) + \hat{g}_{2}(x_C) using backfitting.
backfitter(
X,
y,
predictor,
fitMethod,
predictfcn,
eps = 0.01,
iter.max = 10,
verbose = TRUE,
...
)
X |
The design matrix. |
y |
The response vector. |
predictor |
The name or index of the predictor of interest ( |
fitMethod |
A function that accepts |
predictfcn |
A function that accepts |
eps |
Convergence threshold. |
iter.max |
Maximum number of iterations. |
verbose |
If |
... |
Additional arguments passed to |
An object of class backfitter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.