DataObject.GetObsNumbersInAnalysis

Prototypes

void GetObsNumbersInAnalysis( Matrix mObs )

Parameters

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

Remarks

This method retrieves the observation numbers of the observations in the DataObject that have the IncludeInAnalysis 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.IncludeInAnalysis( mObs, false );
 
dobj.GetObsNumbersInAnalysis( includeObs );
print includeObs;
See Also

DataObject.GetObsNumbersInPlots
DataObject.IncludeInAnalysis
DataObject.IncludeInPlots