void GetObsNumbersInAnalysis( Matrix mObs )
Matrix mObs
Upon return, contains a column vector of the observation numbers (1-based) of the observations that have the IncludeInAnalysis flag turned on.
This method retrieves the observation numbers of the observations in the DataObject that have the IncludeInAnalysis flag turned on.
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;
DataObject.GetObsNumbersInPlots
DataObject.IncludeInAnalysis
DataObject.IncludeInPlots