title: Compute multiple arrays of same variables into one Variables in R?
body: <p>How to compute different parameters as one in R. For example. I have 3 arrays of a variable A called A1.1,A1.2,A1.3. I want to compute them in one as "A". How to do that?</p>
  
  <pre><code>A1.1&gt;c(1,1,1,0,0,0)
  A1.2&gt;c(1,0,0,1,1,1)
  A1.3&gt;c(0,1,1,1,1,1)
  </code></pre>
  
  <p>Out put should be like this. in SPSS we do this by compute variables.</p>
  
  <pre><code>A&gt;c(1,1,1,1,1,1)
  </code></pre>