int GetNumObs()
The return value is the number of observations in the DataObject.
None
This method returns the number of observations in the DataObject.
mData = { 1.0 2.0 3.0 4.0, 1.7 2.2 2.4 5.3, 2.2 2.5 1.3 6.7 }; mVarNames = 'X1':'X4'; declare DataObject dobj; dobj = DataObject.Create( "Sample Data", mVarNames, mData ); NumObs = dobj.GetNumObs(); print NumObs;