# Primary Event Censored Distributions

## Documentation for package ‘primarycensored’ version 1.4.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

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
dexpgrowth | Exponential growth distribution functions
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
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_pgamma_dunif | Method for Gamma 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
pexpgrowth | Exponential growth distribution functions
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
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