get_gamdata {deepregression}R Documentation

Extract property of gamdata

Description

Extract property of gamdata

Usage

get_gamdata(
  term,
  param_nr,
  gamdata,
  what = c("data_trafo", "predict_trafo", "input_dim", "partial_effect", "sp_and_S",
    "df")
)

Arguments

term

term in formula

param_nr

integer; number of the distribution parameter

gamdata

list as returned by precalc_gam

what

string specifying what to return

Value

property of the gamdata object as defined by what


[Package deepregression version 1.0.0 Index]