Learn R Programming

tramnet (version 0.0-8)

residuals.tramnet: residuals method for class "tramnet"

Description

residuals method for class "tramnet"

Usage

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

Value

Returns a numeric vector of residuals for each row in 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

Author

Lucas Kook