R functions to create species-sensitivity distributions