title: Split an array into smaller arrays using R
body: <p>I have a 1D array with an odd number of rows, 2435 rows. I want to split the array into smaller arrays and each time perform a small test.</p>
  
  <p>Firstly, I want to split the big array into two smaller arrays. </p>
  
  <p>Then I would like to split my array into 4 smaller arrays, then into 8 small arrays and so on.</p>
  
  <p>Can anyone help with that? </p>
  
  <p>An example is the following:</p>
  
  <blockquote>
    <p>A&lt;-1:2435</p>
    
    <p>A1
    1,2,3,4,...,1237</p>
    
    <p>A2
    1238, 1239,...,2435</p>
  </blockquote>
  
  <p>Thanks in advance</p>