| add_name_attribute | Helper method for custom distributions |
| check_dprimary | Check if a function is a valid bounded probability density function (PDF) |
| check_pdist | Check if a function is a valid cumulative distribution function (CDF) |
| check_truncation | Check if truncation time is appropriate relative to the maximum delay |
| ddiscretehazard | Hazard-parameterised piecewise-constant PMF |
| ddiscretestep | Step (piecewise-constant) PMF |
| dexpgrowth | Exponential growth distribution functions |
| discretehazard_start | Start values for the logit-hazard parameterisation |
| dpcens | Compute the primary event censored PMF for delays |
| dprimarycensored | Compute the primary event censored PMF for delays |
| expgrowth | Exponential growth distribution functions |
| fitdistdoublecens | Fit a distribution to doubly censored data |
| hazards_to_pmf | Convert discrete-time hazards to a PMF |
| new_pcens | S3 class for primary event censored distribution computation |
| pcd_as_stan_data | Prepare data for primarycensored Stan model |
| pcd_cmdstan_model | Create a CmdStanModel with primarycensored Stan functions |
| pcd_distributions | Supported delay distributions |
| pcd_dist_name | Get distribution function cdf or pdf name |
| pcd_load_stan_functions | Load Stan functions as a string |
| pcd_primary_distributions | Supported primary event distributions |
| pcd_stan_dist_id | Get distribution stan ID by name |
| pcd_stan_files | Get Stan files containing specified functions |
| pcd_stan_functions | Get Stan function names from Stan files |
| pcd_stan_function_deps | Get dependencies for a Stan function |
| pcd_stan_path | Get the path to the Stan code |
| pcens_cdf | Compute primary event censored CDF |
| pcens_cdf.default | Default method for computing primary event censored CDF |
| pcens_cdf.pcens_pdiscretehazard | Method for hazard CDF delay with general primary event distribution |
| pcens_cdf.pcens_pdiscretestep | Method for step CDF delay with general primary event distribution |
| pcens_cdf.pcens_pgamma_dunif | Method for Gamma delay with uniform primary |
| pcens_cdf.pcens_pgengamma.orig_dunif | Method for generalised gamma delay with uniform primary |
| pcens_cdf.pcens_pgengamma_dunif | Method for generalised gamma (Prentice parameterisation) delay with uniform primary |
| pcens_cdf.pcens_plnorm_dunif | Method for Log-Normal delay with uniform primary |
| pcens_cdf.pcens_pweibull_dunif | Method for Weibull delay with uniform primary |
| pcens_quantile | Compute primary event censored quantiles |
| pcens_quantile.default | Default method for computing primary event censored quantiles |
| pdiscretehazard | Hazard-parameterised piecewise-constant CDF |
| pdiscretestep | Step (piecewise-constant) CDF |
| pexpgrowth | Exponential growth distribution functions |
| pmf_to_hazards | Convert a PMF to discrete-time hazards |
| ppcens | Compute the primary event censored CDF for delays |
| pprimarycensored | Compute the primary event censored CDF for delays |
| qpcens | Compute quantiles corresponding to target probabilities for primary event censored delays |
| qprimarycensored | Compute quantiles corresponding to target probabilities for primary event censored delays |
| rdiscretehazard | Sample from a hazard-parameterised step distribution |
| rdiscretestep | Sample from a step distribution |
| rexpgrowth | Exponential growth distribution functions |
| rpcens | Generate random samples from a primary event censored distribution |
| rprimarycensored | Generate random samples from a primary event censored distribution |