View source: R/additivityLineup.R
| additivityLineup | R Documentation |
This function creates a lineup plot to assess the additivity of a predictor's effect. It uses a nonparametric bootstrap approach to generate null plots.
additivityLineup(
backfit_obj,
fitMethod,
realICE,
figs = 10,
colorvecfcn,
usecolorvecfcn_inreal = FALSE,
null_predictfcn,
...
)
backfit_obj |
An object of class |
fitMethod |
A function that accepts |
realICE |
The |
figs |
The total number of plots in the lineup (including the real one). Default is 10. |
colorvecfcn |
Optional function to generate a color vector for the curves. |
usecolorvecfcn_inreal |
If |
null_predictfcn |
Optional prediction function for the null models. |
... |
Additional arguments passed to |
An object of class additivityLineup (invisibly).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.