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,
  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)


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