get_partial_effect: Return partial effect of one smooth term

View source: R/methods.R

get_partial_effectR Documentation

Return partial effect of one smooth term

Description

Return partial effect of one smooth term

Usage

get_partial_effect(
  object,
  names = NULL,
  return_matrix = FALSE,
  which_param = 1,
  newdata = NULL,
  ...
)

Arguments

object

deepregression object

names

string; for partial match with smooth term

return_matrix

logical; whether to return the design matrix or

which_param

integer; which distribution parameter the partial effect (FALSE, default)

newdata

data.frame; new data (optional)

...

arguments passed to get_weight_by_name


deepregression documentation built on Jan. 18, 2023, 1:11 a.m.