Learn R Programming

matrixdist (version 1.1.2)

logLik,ph-method: logLik Method for ph Class

Description

logLik Method for ph Class

Usage

# S4 method for ph
logLik(object)

Arguments

object

an object of class '>ph.

Value

An object of class logLik.

Examples

Run this code
# NOT RUN {
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