DataObject.DeselectObs

Prototypes

void DeselectObs( Matrix mObsNumbers )

Parameters

Matrix mObsNumbers
A vector containing the observation numbers (1-based) of the observations to deselect. To specify all the observation numbers in the DataObject, use the predefined constant OBS_ALL.

Remarks

This method deselects specific observations in the DataObject.

Example
mData = { 20 165,
          30 170, 
          40 175, 
          50 180, 
          60 170, 
          70 160 }; 
mVarNames = { "Age", "Weight" };
declare DataObject dobj;
dobj = DataObject.Create( "Sample Data", mVarNames, mData, false );
DataTable.Create( dobj ).ActivateWindow();
mObs = { 2 3 };
dobj.SelectObs( mObs );
pause "Click Resume to continue";
dobj.DeselectObs( mObs );
See Also

DataObject.DeselectAllObs