this function removes named likelihood components

# S3 method for gadgetlikelihood
gadget_discard(gf, comp_name)

Arguments

gf

The gadgetfile object to update

comp_name

named components to remove