On Mon, Oct 14, 2024 at 9:25 AM Riccardo (Jack) Lucchetti
<p002264(a)staff.univpm.it> wrote:
Long story short: for creating a series that contains the minimum
between x and y the shortest way we have is to use
<hansl>
series m = x < y ? x : y
</hansl>
which is nice, but I just realised that maybe some people would find it
more intuitive to use the xmin() function, as in "series m = xmin(x,
y)". The function, however, is at present scalar-only.
Just saying, the min() function will do what's wanted here, for 2 or
more series, at the cost of defining a list, as in
<hansl>
open data4-10
series mymin = min(deflist(ENROLL, CATHOL))
</hansl>
Allin