Constructs a DoublePCA instance from the given data, optionally centering and scaling the data before analysis takes place.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DoublePCA(
	DataFrame data,
	bool center,
	bool scale
)
Visual Basic (Declaration)
Public Sub New ( _
	data As DataFrame, _
	center As Boolean, _
	scale As Boolean _
)
Visual C++
public:
DoublePCA(
	DataFrame^ data, 
	bool center, 
	bool scale
)

Parameters

data
Type: CenterSpace.NMath.Stats..::.DataFrame
A data frame containing the data. Each column represents a variable; each row an observation. Non-numeric columns are ignored.
center
Type: System..::.Boolean
A boolean value indicating whether the variables should be shifted to be zero-centered before analysis takes place.
scale
Type: System..::.Boolean
A boolean value indicating indicating whether the variables should be scaled to have unit variance before analysis takes place.

See Also