Am 27.12.2020 um 01:55 schrieb Allin Cottrell:
New in git, obslabel() supports a vector argument, so this is a bit
less
hassle:
Thanks, that's useful.
<hansl>
open AWM
m = mreverse(msortby({obs, GCR_YER},2))[1:5,]
rnameset(m, obslabel(m[,1]))
printf "%10g\n", m
</hansl>
BTW, I only found a mention of the "obs" special variable in the
cheatsheet chapter of the guide. And it is used in the doc for the
"smpl" command, but arguably it's not clear there that it can be used
more generally - also it does not appear in the subsampling chapter 4 in
the guide. (However, it does appear inside the --declared as somewhat
outdated-- genr entry of the command reference.)
So, some questions:
Might it be an idea to add a hint about "obs" to the series section 11.2
of the guide? Also, apart from historical reasons, why isn't this thing
actually called $obs, like $obsdate and so on? I also seem to remember
"t" working in the same way - what's the status there?
thanks
sven