loglike_optim: Log-likelihood function

View source: R/loglike.R

loglike_optimR Documentation

Log-likelihood function

Description

Internal function used for computing the log-likelihood of a parameterized model within fit_cyclomort.

Usage

loglike_optim(pars, x)

Arguments

pars

named vector including "gamma", "mu", and "rho" parameters for the appropriate number of seasons

x

times of death or censoring as Surv objects

Value

likelihood value given named vector of parameters as well as set of observations

See Also

fit_cyclomort


cyclomort documentation built on June 8, 2025, 11:04 a.m.