programlibs/Statistics/demos/heights.xtl
Heights and weights of twelve people: a summary of each, how they relate, the line through them, and who is unusual. Run with "just demo Statistics heights".
height : Int
height ← 158 162 165 168 170 171 173 175 178 180 183 191 ⍝ cm
weight : Int
weight ← 52 58 61 60 66 70 68 72 75 80 79 95 ⍝ kg
ᵘm̲eanOr0 : Num a => a -> Float
ᵘm̲eanOr0 ← { v → 0 = t̲ally v ? 0.0◆ ˢm̲ean v }
Used in: libs/Statistics/demos/heights.xtl:28