Creates an interaction between two terms.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static ModelTerm Interaction(
ModelTerm left,
ModelTerm right
)
Public Shared Function Interaction (
left As ModelTerm,
right As ModelTerm
) As ModelTerm
public:
static ModelTerm^ Interaction(
ModelTerm^ left,
ModelTerm^ right
)
static member Interaction :
left : ModelTerm *
right : ModelTerm -> ModelTerm
Parameters
- left
- Type: Extreme.DataAnalysis.ModelsModelTerm
The first term. - right
- Type: Extreme.DataAnalysis.ModelsModelTerm
The second term.
Return Value
Type:
ModelTerm
A model term that represents the interaction between
left and
right.
The type of model term that is returned depends on
the number of terms in the actual interaction.
Constant terms are never included in the interaction.
If the same categorical term occurs multiple times,
it is only included once in the interaction.
Reference