<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Append Data to End of Array in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42090#M24538</link>
    <description>&lt;P&gt;Change your concatenation to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;result = data1 |/ data2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;BTW....in JSL terms, you do not have an "Array", you have a "Matrix"&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2017 00:05:02 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-07-18T00:05:02Z</dc:date>
    <item>
      <title>Append Data to End of Array</title>
      <link>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42088#M24536</link>
      <description>&lt;P&gt;I am having issues appending data to the end of an array. I have been using the concatenate operator (||), but then the result is a matrix which messes up the calculations I am working on. Is there an easy way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Sample data set
data1 = [1, 2, 3, 4, 5];
data2 = [6, 7, 8, 9, 10];

result = data1 || data2;

/* output of result:
[1 6,
2 7,
3 8,
4 9,
5 10] */

// desired result: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Jul 2017 22:16:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42088#M24536</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2017-07-17T22:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Append Data to End of Array</title>
      <link>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42089#M24537</link>
      <description>Try the V Concat() operator which is |/.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.jmp.com/support/help/Matrices.shtml" target="_blank"&gt;https://www.jmp.com/support/help/Matrices.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jul 2017 23:01:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42089#M24537</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2017-07-17T23:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Append Data to End of Array</title>
      <link>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42090#M24538</link>
      <description>&lt;P&gt;Change your concatenation to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;result = data1 |/ data2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;BTW....in JSL terms, you do not have an "Array", you have a "Matrix"&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 00:05:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42090#M24538</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-07-18T00:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Append Data to End of Array</title>
      <link>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42118#M24546</link>
      <description>&lt;P&gt;Thanks guys that's exactly what I needed!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 15:37:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Append-Data-to-End-of-Array/m-p/42118#M24546</guid>
      <dc:creator>SG</dc:creator>
      <dc:date>2017-07-18T15:37:14Z</dc:date>
    </item>
  </channel>
</rss>

