Returns a collection of model terms for the columns with the specified keys
in a data frame.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static ModelTermCollection Variables(
IDataFrame source,
string[] keys,
bool noIntercept = false
)
Public Shared Function Variables (
source As IDataFrame,
keys As String(),
Optional noIntercept As Boolean = false
) As ModelTermCollection
public:
static ModelTermCollection^ Variables(
IDataFrame^ source,
array<String^>^ keys,
bool noIntercept = false
)
static member Variables :
source : IDataFrame *
keys : string[] *
?noIntercept : bool
(* Defaults:
let _noIntercept = defaultArg noIntercept false
*)
-> ModelTermCollection
Parameters
- source
- Type: Extreme.DataAnalysisIDataFrame
- keys
- Type: SystemString
- noIntercept (Optional)
- Type: SystemBoolean
Indicates whether a constant term should be included.
Return Value
Type:
ModelTermCollectionA collection of terms corresponding to
the columns in
source with keys in
keys.
Reference