R/survival_ln_mixture-constructor.R

Defines functions new_survival_ln_mixture

new_survival_ln_mixture <- function(posterior, nobs, predictors_name, mixture_groups, blueprint, data) {
  hardhat::new_model(
    posterior = posterior,
    nobs = nobs,
    predictors_name = predictors_name,
    mixture_groups = mixture_groups,
    blueprint = blueprint,
    class = "survival_ln_mixture"
  )
}

Try the lnmixsurv package in your browser

Any scripts or data that you put into this service are public.

lnmixsurv documentation built on Sept. 11, 2024, 7:18 p.m.