powered by
Extract the log-likelihood of a lcModel
# S3 method for lcModel logLik(object, ...)
The lcModel object.
lcModel
Additional arguments.
A numeric with the computed log-likelihood. If unavailable, NA is returned.
numeric
NA
The default implementation checks for the existence of the logLik() function for the internal model, and returns the output, if available.
logLik()
stats::logLik metric
Other model-specific methods: clusterTrajectories(), coef.lcModel(), converged(), deviance.lcModel(), df.residual.lcModel(), fitted.lcModel(), fittedTrajectories(), lcModel-class, model.frame.lcModel(), nobs.lcModel(), postprob(), predict.lcModel(), predictAssignments(), predictForCluster(), predictPostprob(), residuals.lcModel(), sigma.lcModel(), time.lcModel()
clusterTrajectories()
coef.lcModel()
converged()
deviance.lcModel()
df.residual.lcModel()
fitted.lcModel()
fittedTrajectories()
lcModel-class
model.frame.lcModel()
nobs.lcModel()
postprob()
predict.lcModel()
predictAssignments()
predictForCluster()
predictPostprob()
residuals.lcModel()
sigma.lcModel()
time.lcModel()
# NOT RUN { data(latrendData) method <- lcMethodLcmmGBTM(fixed = Y ~ Time, mixture = ~ 1, id = "Id", time = "Time", nClusters = 3) gbtm <- latrend(method, data = latrendData) logLik(gbtm) # }
Run the code above in your browser using DataLab