logLik.drc {drc}R Documentation

Extracting the log likelihood

Description

'loglik' extracts the value of the log likelihood function evaluated at the parameter estimates.

Usage

  ## S3 method for class 'drc':
  logLik(object, ...)

Arguments

object an object of class 'drc'.
... additional arguments.

Value

The evaluated log likelihood as a numeric value and the corresponding degrees of freedom as an attribute.

Note

The value of the log likelihood could be used to compare fits of the same data and model for different starting values. Larger is better.

Author(s)

Christian Ritz

Examples


model1 <- multdrc(ryegrass) 
logLik(model1)

rm(model1)


[Package drc version 1.1-0 Index]