Drop user-defined EQ-5D value set to reverse crosswalk options.
eqvs_drop(country =NULL, version ="5L", saveOption =1, savePath =NULL)
Arguments
country: Optional string. If NULL, a list of current user-defined value sets will be provided for selection. If set, and matching an existing user-defined value set, a prompt will be given as to whether the value set should be deleted.
version: Version of the EQ-5D instrument. Can take values 5L (default) or 3L.
saveOption: Integer indicating how the cache data should be saved. 1: Do not save (default), 2: Save in package folder, 3: Save in another path.
savePath: A path where the cache data should be saved when saveOption is 3. Please use eqvs_load to load it in your next session.
Returns
True/False, indicating success or error.
Examples
# make nonsense value set new_df <- data.frame(state = make_all_EQ_indexes(), TEST = runif(3125))# Add as value set for Fantasia eqvs_add(new_df, version ="5L", country ='Fantasia', saveOption =1)# Drop value set for Fantasia eqvs_drop('Fantasia', saveOption =1)