get_partial_effect: Return partial effect of one smooth term

Description Usage Arguments

View source: R/methods.R

Description

Return partial effect of one smooth term

Usage

1
2
3
4
5
6
7
get_partial_effect(
  object,
  name,
  return_matrix = FALSE,
  which_param = 1,
  newdata = NULL
)

Arguments

object

deepregression object

name

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)


deepregression documentation built on Oct. 5, 2021, 1:06 a.m.