DataObject.GetObsNumbersInPlots

Prototypes

void GetObsNumbersInPlots( Matrix mObs )

Parameters

Matrix mObs
Upon return, contains a column vector of the observation numbers (1-based) of the observations that have the IncludeInPlots flag turned on.

Remarks

This method retrieves the observation numbers of the observations in the DataObject that have the IncludeInPlots flag turned on.

Example
mData = { 20 165,
          30 170, 
          40 175, 
          50 180, 
          60 170, 
          70 160 }; 
mVarNames = { "Age", "Weight" };
declare DataObject dobj;
dobj = DataObject.Create( "Sample ", mVarNames, mData, false );
mObs = loc( mData[,2] > 170 );
dobj.IncludeInPlots( mObs, false );
 
dobj.GetObsNumbersInPlots( includeObs );
print includeObs;
See Also

DataObject.GetObsNumbersInAnalysis
DataObject.IncludeInAnalysis
DataObject.IncludeInPlots