dotnetCHARTING Send comments on this topic.
Mean(Series) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > Mean Method : Mean(Series) Method


s
A statistical series.
Calculates the arithmetic mean of the elements YValues of the series.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Mean( _
   ByVal s As Series _
) As Element
Visual Basic (Usage)Copy Code
Dim s As Series
Dim value As Element
 
value = StatisticalEngine.Mean(s)
C# 
public static Element Mean( 
   Series s
)

Parameters

s
A statistical series.

Exceptions

ExceptionDescription
ArgumentExceptionThrown if the series s is empty

See Also

© 2010 All Rights Reserved.