MV_VARS - Effective Number of Variables

Calculates the number of variables in a given data set.

Syntax

MV_VARS(X, Mask)

X
is the input variables data set (a two-dimensional array of cells, where each column corresponds to a variable).
Mask
is the boolean array to choose the input variables in the set. If missing, all variables in X are included.

Remarks

  1. In case the number of the size of the mask array is smaller than the number of variables in X, the array is appended with ones to match X.
  2. In case the number of the size of the mask array is greater than the number of variables in X, the excess elements are dropped/ignored.

Files Examples

Related Links

References

Comments

Article is closed for comments.

Was this article helpful?
0 out of 0 found this helpful