Learn R Programming

simulateDCE (version 0.3.1)

modify_bcoeff_names: Modify bcoeff Names

Description

This function modifies the names of beta coefficients (bcoeff) by removing dots and underscores to ensure consistent naming. If the names are already modified, the function skips processing.

Usage

modify_bcoeff_names(bcoeff)

Value

A list containing:

bcoeff

The modified bcoeff list with updated names.

bcoeff_lookup

A tibble mapping the original names to the modified names.

Arguments

bcoeff

A named list of beta coefficients. The names of this list are the coefficients used in the utility function.