methodTrafo: Generic functions for deeptrafo models

plot.deeptrafoR Documentation

Generic functions for deeptrafo models

Description

Generic functions for deeptrafo models

Usage

## S3 method for class 'deeptrafo'
plot(
  x,
  which = NULL,
  which_param = 1,
  plot = TRUE,
  grid_length = 40,
  eval_grid = FALSE,
  ...
)

Arguments

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


davidruegamer/deepregression documentation built on May 30, 2022, 6:21 p.m.