ModelTerm.Variables Method

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Variables(IList<String>, Boolean) Returns a collection of model terms for the columns with the specified keys.
Variables(IDataFrame, String[], Boolean) Returns a collection of model terms for the columns with the specified keys in a data frame.

ModelTerm.Variables(IList<String>, Boolean)

Returns a collection of model terms for the columns with the specified keys.
C#
public static ModelTermCollection Variables(
	IList<string> keys,
	bool noIntercept = false
)

Parameters

keys  IList<String>
A list of strings containing the keys of the columns
noIntercept  Boolean  (Optional)
Indicates whether a constant term should be included.

Return Value

ModelTermCollection
A collection of unbound terms with keys in keys.

ModelTerm.Variables(IDataFrame, String[], Boolean)

Returns a collection of model terms for the columns with the specified keys in a data frame.
C#
public static ModelTermCollection Variables(
	IDataFrame source,
	string[] keys,
	bool noIntercept = false
)

Parameters

source  IDataFrame
keys  String[]
noIntercept  Boolean  (Optional)
Indicates whether a constant term should be included.

Return Value

ModelTermCollection
A collection of terms corresponding to the columns in source with keys in keys.

See Also