Learn R Programming

tramnet (version 0.0-8)

logLik.tramnet: logLik method for class "tramnet"

Description

logLik method for class "tramnet"

Usage

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

Value

returns potentially weighted (w) log-likelihood based on object evaluated at parameters parm and data newdata

Arguments

object

object of class "tramnet"

parm

parameters to evaluate the log likelihood at

w

weights

newdata

data to evaluate the log likelihood at

...

Additional arguments to logLik

Author

Lucas Kook, Torsten Hothorn