ROWMEAN

Purpose:

Produces a column of the means of each row of the input table.

Syntax:

ROWMEAN(a)

a

-

A series or table.

Returns:

A single column series with the same number of rows as the input table.

Example:

a = {{2,  4,  6},

     {8, 10, 12}}

 

b = rowmean(a)

 

b == {4, 10}

Example:

a = {{2, 4,    6},

     {8, 10, nan}}

 

b = rowmean(a) 

 

b == {4, 9} 

Remarks:

ROWMEAN does not assume the number of columns for each row is the same.

 

ROWMEAN ignores NaN values.

 

See ROWAVG to compute the row means including NaN values.

See Also:

COLMEAN

MEAN

ROW

ROWAVG

ROWLEN

ROWMAX

ROWMIN

ROWREDUCE

ROWSTDEV

ROWSUM

TRANSPOSE