plot.deeptrafo | R Documentation |
Generic functions for deeptrafo models
## S3 method for class 'deeptrafo' plot( x, which = NULL, which_param = 1, plot = TRUE, grid_length = 40, eval_grid = FALSE, ... )
x |
deepregression object |
which |
which effect to plot, default selects all. |
which_param |
integer, either 1 or 2. 1 corresponds to the shift term, 2 to the interaction term. |
plot |
logical, if FALSE, only the data for plotting is returned |
grid_length |
the length of an equidistant grid at which a two-dimensional function is evaluated for plotting. |
eval_grid |
logical; should plot be evaluated on a grid |
... |
further arguments, passed to fit, plot or predict function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.