src/ModelConstants.cpp
adstring tcsamDims::getMSsForR(int mn,int mx){
    adstring dms = "m=c("+qt+formatForR(getMaturityType(mn))+qt;
    for (int i=(mn+1);i<=mx;i++) {
        dms += cc+qt+formatForR(getMaturityType(i))+qt;
    }
    dms += ")";
    return dms;
}
/**
 * Convert a vector of model maturity states (defined by the input indices) to an
 * R character vector formatted as part of an R list, using 'm'
 * as the name.
 * 
 * @param mn
 * @param mx
 * @return 
 */
Convert a vector of model maturity states (defined by the input indices) to an
R character vector formatted as part of an R list, using 'm'
as the name.

@param mn
@param mx
@return
Convert a vector of model maturity states ( defined by the input indices ) to an R character vector formatted as part of an R list using ' m ' as the name . @param mn @param mx @return
adstring tcsamDims::getMSsForR(int mn,int mx){
    adstring dms = "m=c("+qt+formatForR(getMaturityType(mn))+qt;
    for (int i=(mn+1);i<=mx;i++) {
        dms += cc+qt+formatForR(getMaturityType(i))+qt;
    }
    dms += ")";
    return dms;
}
adstring tcsamDims :: getMSsForR ( int mn , int mx ) { adstring dms = " " + qt + formatForR ( getMaturityType ( mn ) ) + qt ; for ( int i = ( mn + 1 ) ; i <= mx ; i ++ ) { dms += cc + qt + formatForR ( getMaturityType ( i ) ) + qt ; } dms += " " ; return dms ; }
Convert a vector of model maturity states (defined by the input indices) to an
 R character vector formatted as part of an R list, using 'm'
 as the name.
Convert a vector of model maturity states ( defined by the input indices ) to an R character vector formatted as part of an R list using ' m ' as the name .