loglike_optim: Log-likelihood function

Description Usage Arguments Value See Also

View source: R/loglike.R

Description

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

Usage

1
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 Aug. 20, 2020, 5:06 p.m.