title: assign 50 % of nodes to a certain parameter and the rest to another parameter
body: <p>Hii I have a code that I need to assign half the nodes to an interarrival time and the rest of nodes to another interarrival
      LoRa.numHosts = 300</p>
  
  <pre><code>LoRa.host[0..149].iaTime = exponential(600s) 
  LoRa.host[150..299].iaTime = exponential(60s)
  </code></pre>
  
  <p>is there a way to do it generically so that I just need to change numHosts and the code does the rest for example (this gives error!)</p>
  
  <pre><code>LoRa.numHosts = ${N=300..3000 step 100} 
  
  LoRa.host[0..(numHosts/2)-1].iaTime = exponential(600s) 
  LoRa.host[(numHosts/2)..numHosts].iaTime = exponential(60s)
  </code></pre>
  
  <p>any help please?</p>