Extract distribution parameters from details
Source:R/mockdata_helpers.R
extract_distribution_params.RdExtracts distribution-specific parameters (mean, sd, rate, shape, range) from details subset. Auto-detects distribution type if not specified.
Value
Named list with distribution type and parameters:
distribution: Character. Distribution type.
mean, sd: Numeric. For normal distribution.
rate, shape: Numeric. For Gompertz/exponential.
range_min, range_max: Numeric. For uniform or truncation.