Learn R Programming

matrixdist (version 1.1.9)

logLik,ph-method: Loglikelihood method for ph class

Description

Loglikelihood method for ph class

Usage

# S4 method for ph
logLik(object)

Value

An object of class logLik.

Arguments

object

An object of class ph.

Examples

Run this code
obj <- iph(ph(structure = "general", dimension = 2), gfun = "weibull", gfun_pars = 2)
data <- sim(obj, n = 100)
fitted_ph <- fit(obj, data, stepsEM = 10)
logLik(fitted_ph)

Run the code above in your browser using DataLab