get_beta_parameters: Finds beta inverse dispersion parameter when given a center...

Description Usage Arguments Details Value Examples

View source: R/internal.R

Description

This is an internal function for use in the LTFU-aware fragility index calculation functions.

Usage

1
get_beta_parameters(po, mult = 1.3)

Arguments

po

the location parameter of the beta distribution

mult

the multiplier which is used to determine the scale. The 75th quantile of the beta distribution will be mult*po.

Details

Gets parameters for sampling in ltfu.fi Chooses them so that the mode is po and the 75th quantile is mult*po

Value

a length one numeric with the beta inverse disperion parameter

Examples

1
params <- FragilityTools:::get_beta_parameters(.3)

brb225/FragilityTools documentation built on Jan. 21, 2022, 1:26 a.m.