logLik.tramnet {tramnet}R Documentation

logLik method for class "tramnet"

Description

logLik method for class "tramnet"

Usage

## S3 method for class 'tramnet'
logLik(object, parm = coef(object, tol = 0,
  with_baseline = TRUE), w = NULL, 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

Value

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

Author(s)

Lucas Kook, Torsten Hothorn


[Package tramnet version 0.0-8 Index]