Click or drag to resize
Accord.NET (logo)

CircularQuartiles Method (Double, DoubleRange, Double, Boolean, QuantileMethod)

Computes the circular quartiles of the given circular angles.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double Quartiles(
	double[] angles,
	out DoubleRange range,
	double median,
	bool wrap = true,
	QuantileMethod type = QuantileMethod.Default
)
Request Example View Source

Parameters

angles
Type: SystemDouble
A double array containing the angles in radians.
range
Type: AccordDoubleRange
The sample quartiles, as an out parameter.
median
Type: SystemDouble
The angular median, if already known.
wrap (Optional)
Type: SystemBoolean
Whether range values should be wrapped to be contained in the circle. If set to false, range values could be returned outside the [+pi;-pi] range.
type (Optional)
Type: Accord.StatisticsQuantileMethod
The quartile definition that should be used. See QuantileMethod for datails.

Return Value

Type: Double
The median of the given angles.
See Also