estfun.tramnet: estfun method for class '"tramnet"'

View source: R/methods.R

estfun.tramnetR Documentation

estfun method for class "tramnet"

Description

estfun method for class "tramnet" which computes the score contributions w.r.t. each model parameter.

Usage

## S3 method for class 'tramnet'
estfun(x, parm = coef(x, with_baseline =
  TRUE, tol = 0), w = NULL, newdata, ...)

Arguments

x

object of class "tramnet"

parm

parameters for evaluating the score

w

weights

newdata

data on which to compute the score contributions

...

additional arguments to estfun

Value

Matrix of score contributions w.r.t. model parameters evaluated at parm

Author(s)

Lucas Kook


tramnet documentation built on April 1, 2023, 12:20 a.m.