The argument model should be a fitted model of some kind.
This function extracts all the parameters that would be needed to
specify the model, and returns them as a list.
The function parameters is generic, with methods
for class "ppm", "kppm", "dppm" and "profilepl"
and other classes.