| DoublePCA(DataFrame, Boolean, Boolean) Constructor |
Constructs a DoublePCA instance from the given data,
optionally centering and scaling the data before analysis takes place.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoublePCA(
DataFrame data,
bool center,
bool scale
)
Public Sub New (
data As DataFrame,
center As Boolean,
scale As Boolean
)
public:
DoublePCA(
DataFrame^ data,
bool center,
bool scale
)
new :
data : DataFrame *
center : bool *
scale : bool -> DoublePCA
Parameters
- data DataFrame
-
A data frame containing the data. Each column represents a variable; each
row an observation. Non-numeric columns are ignored.
- center Boolean
-
A boolean value indicating whether the variables should be
shifted to be zero-centered before analysis takes place.
- scale Boolean
-
A boolean value indicating indicating whether the variables should be
scaled to have unit variance before analysis takes place.
See Also