logLik.tramnet: logLik method for class '"tramnet"'

View source: R/methods.R

logLik.tramnetR 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


tramnet documentation built on April 1, 2023, 12:20 a.m.