get_efficacies_sample.Rd
This function retrieves a sample of efficacies from an object based on a provided seed.
get_efficacies_sample(object, seed)
A list containing the sampled efficacies for each efficacy type.
The function initializes a list with efficacy types set to 0. It then iterates over the names of the efficacy types and checks if the length of the efficacy values for each type is greater than 1. If so, it selects the efficacy value based on the provided seed. Otherwise, it assigns the single efficacy value to the list. The function finally returns the list of sampled efficacies.