<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1458065401737_43504">Hi,</div><div id="yui_3_16_0_1_1458065401737_43504"><br></div><div id="yui_3_16_0_1_1458065401737_43504" dir="ltr">I need to obtain (i.e. from 1 to 23) for "indYear" which means I need my indexing start from 1 to 23. How can I achieve this using R. </div><div id="yui_3_16_0_1_1458065401737_43504" dir="ltr"><br></div><div id="yui_3_16_0_1_1458065401737_43504" dir="ltr">Thanks in advance,</div><div id="yui_3_16_0_1_1458065401737_43504" dir="ltr"><br></div><div id="yui_3_16_0_1_1458065401737_43504" dir="ltr">indYear <- which(flows[,1]==tTresults[3,1]):nrow(flows)<br></div><div id="yui_3_16_0_1_1458065401737_43504"><br></div><div id="yui_3_16_0_1_1458065401737_43504" class="">> indYear</div><div id="yui_3_16_0_1_1458065401737_43504" dir="ltr" class=""> [1] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46</div></div></body></html>