Am 13.11.2019 um 11:47 schrieb Riccardo (Jack) Lucchetti:
On Wed, 13 Nov 2019, Sven Schreiber wrote:
> Am 13.11.2019 um 10:33 schrieb Riccardo (Jack) Lucchetti:
>>
>> I think Stefano has a point here; if I had to choose, I'd go by
>> "rescale".
>
> IMHO, if a very generic name is chosen ...
I wouldn't endow a function with too many options, I find that very
R-ish, but maybe it's just me.
I'm not against keeping a function specific and simple, but then please
do not choose a name that is very generic. At least that's my taste.
Anyway, recursive demeaning (that I have never seen used anywhere,
I'd
be curious to see a real-life use case)
For example we have to use it in at least one of the tests in the FEP
package.
is easy enough to do in hansl:
<hansl>
X = mnormal(20,3)
M = X - cum(X) ./ seq(1, rows(X))'
</hansl>
As always, that's a nice one-liner example, but IMHO doesn't mean it
couldn't become a function option. Otherwise many existing hansl
functions could also be scrapped - but we've had this discussion before :-)
cheers
sven