Learn R Programming

drc (version 1.2-0)

logLik.drc: 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.

Examples

Run this code
model1 <- multdrc(ryegrass) 
logLik(model1)

rm(model1)

Run the code above in your browser using DataLab