Learn R Programming

matrixdist (version 1.1.3)

logLik,ph-method: logLik Method for ph Class

Description

logLik 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