HierarchicalClusterAnalysis Constructor

Definition

Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

HierarchicalClusterAnalysis(IEnumerable<Vector<Double>>)

Constructs a new HierarchicalClusterAnalysis.
C#
public HierarchicalClusterAnalysis(
	IEnumerable<Vector<double>> variables
)

Parameters

variables  IEnumerable<Vector<Double>>
An array of Vector<T> objects that contain the variables.

Exceptions

ArgumentNullExceptionvariables is null.

HierarchicalClusterAnalysis(Matrix<Double>)

Constructs a new HierarchicalClusterAnalysis.
C#
public HierarchicalClusterAnalysis(
	Matrix<double> data
)

Parameters

data  Matrix<Double>
A real Matrix<T> whose rows contain the observations for the analysis.

Exceptions

ArgumentNullExceptiondata is null.

HierarchicalClusterAnalysis(IDataFrame, String)

Constructs a new HierarchicalClusterAnalysis.
C#
public HierarchicalClusterAnalysis(
	IDataFrame dataFrame,
	string formula
)

Parameters

dataFrame  IDataFrame
A data frame containing the data for the analysis.
formula  String
A formula that specifies the features in the model.

Exceptions

ArgumentNullExceptiondataFrame is null.

-or-

formula is null.

FormatExceptionThe formula is not in the correct format.

HierarchicalClusterAnalysis(IDataFrame, String[])

Constructs a new HierarchicalClusterAnalysis.
C#
public HierarchicalClusterAnalysis(
	IDataFrame dataFrame,
	string[] variableNames
)

Parameters

dataFrame  IDataFrame
A data frame containing the data for the analysis.
variableNames  String[]
An array containing the names of the variables.

Exceptions

ArgumentNullExceptiondataFrame is null.

-or-

variableNames is null.

See Also