Learn R Programming

tramnet (version 0.0-8)

estfun.tramnet: 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 tramnet
estfun(x, parm = coef(x, with_baseline =
  TRUE, tol = 0), w = NULL, newdata, ...)

Value

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

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

Author

Lucas Kook