StatisticFormula.Mean(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the average of all data points stored in the specified series.
public:
double Mean(System::String ^ inputSeriesName);
public double Mean (string inputSeriesName);
member this.Mean : string -> double
Public Function Mean (inputSeriesName As String) As Double
Parameters
- inputSeriesName
- String
Input series name.
Returns
A double
value that represents the average of all data points.
Remarks
Use this method to calculate the mean (that is, the average) of the points stored in a series.
If the specified input series does not exist in the SeriesCollection at the time of the method call, an exception will be thrown.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.