IMsMetaModelVisualController.CreateSimpleModel

Syntax

CreateSimpleModel(InputEntryKey: Integer;
                  InputEntryKeys: Array;
                  OutputEntryKey: Integer;
                  Kind: MsFormulaKind;
                  GraphMeta: String;
                  Var InterVariableKey: Integer;
                  Var InterModelKey: Integer;
                  [ParentKey: Integer = -1;]
                  [InterParentKey: Integer = -1;]
                  [UseR: Boolean = False]): IMsModel;

Parameters

InputEntryKey. Input variable key.

InputSlice. Array of factor keys.

OutputEntryKey. Key of output variable.

Kind. Model type.

GraphMeta. Graphical context.

InterVariableKey. Key of a intermediate variable.

InterModelKey. The key of the transitional model of interpolation/collapse

ParentKey. Parent element key.

InterParentKey. Parent key of intermediate variable and intermediate model of interpolation/collapse.

UseR. Determines whether R is used for model calculation.

Description

The CreateSimpleModel method creates an internal model.

Comments

The GraphMeta parameter can take the Null value.

Values of the InterVariableKey and InterModelKey parameters are returned by the method after execution if frequencies of output variables and factors are different.

If the ParentKey parameter is set to -1, the internal model is created in the metamodel root.

If the InterParentKey parameter is set to -1, the intermediate model and variable are created in the metamodel root.

Available values of the UseR parameter:

Example

The method use is given in the example for IMsMetaModelVisualController.HasVariableRubricator.

See also:

IMsMetaModelVisualController