src/IndivData.cpp
void ChelaHeightData::calcSizeBinIndices(const dvector& zCs){
    rpt::echo<<"Starting ChelaHeightData::calcSizeBinIndices(zCs)"<<endl;
    obsSizeBinIndex_n = wts::assignBinIndices(obsSize_n,zCs,0,0);
    rpt::echo<<"zCs = "<<zCs<<endl;
    for (int n=1;n<=nObs;n++) rpt::echo<<obsSize_n(n)<<tb<<obsSizeBinIndex_n(n)<<tb<<zCs(obsSizeBinIndex_n(n))<<endl;
    rpt::echo<<"Finished ChelaHeightData::calcSizeBinIndices(zCs)"<<endl;
}
/**
 * Calculates indices for model size bins corresponding to observed sizes.
 * 
 * @param zCs - model size bin cutpoints
 */
Calculates indices for model size bins corresponding to observed sizes.

@param zCs - model size bin cutpoints
Calculates indices for model size bins corresponding to observed sizes . @param zCs - model size bin cutpoints
void ChelaHeightData::calcSizeBinIndices(const dvector& zCs){
    rpt::echo<<"Starting ChelaHeightData::calcSizeBinIndices(zCs)"<<endl;
    obsSizeBinIndex_n = wts::assignBinIndices(obsSize_n,zCs,0,0);
    rpt::echo<<"zCs = "<<zCs<<endl;
    for (int n=1;n<=nObs;n++) rpt::echo<<obsSize_n(n)<<tb<<obsSizeBinIndex_n(n)<<tb<<zCs(obsSizeBinIndex_n(n))<<endl;
    rpt::echo<<"Finished ChelaHeightData::calcSizeBinIndices(zCs)"<<endl;
}
void ChelaHeightData :: calcSizeBinIndices ( const dvector & zCs ) { rpt :: echo << " " << endl ; obsSizeBinIndex_n = wts :: assignBinIndices ( obsSize_n , zCs , 0 , 0 ) ; rpt :: echo << " " << zCs << endl ; for ( int n = 1 ; n <= nObs ; n ++ ) rpt :: echo << obsSize_n ( n ) << tb << obsSizeBinIndex_n ( n ) << tb << zCs ( obsSizeBinIndex_n ( n ) ) << endl ; rpt :: echo << " " << endl ; }
Calculates indices for model size bins corresponding to observed sizes.
Calculates indices for model size bins corresponding to observed sizes .