Hello, I was reminded again of the fact that a construct like
dummify($unit) cannot be used, since dummify creates a list and needs
information about the name of the input series to name the list members.
So the idea is to give dummify another optional (string) argument that
provides this naming information.
Example of desired usage:
list groupdums = dummify($unit, NA, "du")
This particular line with the name "du" would be equivalent to "genr
unitdum", apart from the fact that the relevant list is directly created
in one go.
To be clear, dummify($unit) would continue _not_ to work since naming
information is missing. And dummify(x, , "better_use_z") would override
the "x" name of the input series for the dummy creation.
In principle it might perhaps also be interesting to substitute the two
optional arguments with a single option bundle, but I don't know if such
overloading would be desirable here.
thanks
sven