Calculates weighted toxicity scores (WTS).
Usage
calculate_toxicity_analysis(
trial_data,
n_simulations,
unacceptable_rel_increase = 0.5,
k_uncertainty = 5,
soc_weights = c(`Gastrointestinal disorders` = 1.2,
`Blood and lymphatic system disorders` = 1.6,
`General, metabolic, and other disorders` = 1.3, `Dermatologic disorders` = 1.1,
`Infections and infestations` = 1.6,
`Respiratory, thoracic and mediastinal disorders` = 2.5)
)