HierarchicalClusterAnalysis Constructor

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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

ArgumentNullException

variables 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

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

ArgumentNullException

dataFrame is null.

-or-

formula is null.

FormatException

The 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

ArgumentNullException

dataFrame is null.

-or-

variableNames is null.

See Also