Function Repository Resource:

RaggedMeanAround

Source Notebook

Compute MeanAround for corresponding elements in a collection of lists of potentially different lengths

Contributed by: Stephen Wolfram

ResourceFunction["RaggedMeanAround"][lists]

computes MeanAround for corresponding elements in lists of possibly different lengths.

Examples

Basic Examples (1) 

Compute MeanAround for a ragged list:

In[1]:=
ResourceFunction[
 "RaggedMeanAround"][{{1, 3, 6, 9, 11}, {1, 3, 6, 9, 10}, {1, 3, 5, 6}, {1, 3, 6, 8}, {1, 3, 5}, {1, 3, 5}, {1, 3}, {1, 2}, {1, 2}, {1}, {1}}]
Out[1]=

Version History

  • 2.0.0 – 18 March 2020
  • 1.0.0 – 10 March 2020

License Information