residuals.tramnet {tramnet}R Documentation

residuals method for class "tramnet"

Description

residuals method for class "tramnet"

Usage

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

Arguments

object

object of class "tramnet"

parm

parameters to evaluate score at

w

weights

newdata

data to evaluate score at

...

additional arguments to residuals

Value

Returns a numeric vector of residuals for each row in newdata

Author(s)

Lucas Kook


[Package tramnet version 0.0-8 Index]