<?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: Copy rows and change one column value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37261#M21845</link>
    <description>&lt;P&gt;Thank you this worked for me and I've obtained my end goal.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2017 20:35:47 GMT</pubDate>
    <dc:creator>rossjason</dc:creator>
    <dc:date>2017-03-15T20:35:47Z</dc:date>
    <item>
      <title>Copy rows and change one column value</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37237#M21834</link>
      <description>&lt;P&gt;I'm finding the row documentation very frustrating. Is it possible to copy an entire row and add it to the current data table? My rows have many columns so I do not want to go through every column name doing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, if it's possible to make a single one-way graph from two different data tables, then this will also solve my problem. Does JMP have that capability?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 17:40:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37237#M21834</guid>
      <dc:creator>rossjason</dc:creator>
      <dc:date>2017-03-15T17:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Copy rows and change one column value</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37238#M21835</link>
      <description>&lt;P&gt;You could make the one row a subset table, and then concatenate it with the larger table.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 17:40:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37238#M21835</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-03-15T17:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy rows and change one column value</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37239#M21836</link>
      <description>&lt;P&gt;Can you please reply with the JSL scrip&amp;nbsp;for doing so?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 17:41:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37239#M21836</guid>
      <dc:creator>rossjason</dc:creator>
      <dc:date>2017-03-15T17:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Copy rows and change one column value</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37247#M21839</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\big class.jmp" );
// select a row
dt &amp;lt;&amp;lt; select where( Row() == 5 );
// subset the data
dtsel = dt &amp;lt;&amp;lt; subset( invisible, selected rows( 1 ), selected columns( 0 ) );
// put the tables together
dt = dt &amp;lt;&amp;lt; Concatenate( dtsel, append to first table( 1 ) );
// delete the unneeded supbet table
colose( dtsel, nosave );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 18:13:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37247#M21839</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-03-15T18:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Copy rows and change one column value</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37249#M21841</link>
      <description>&lt;P&gt;Here's an example that uses Big Class. &amp;nbsp;I make a subset table using row 8, and then append it back to the original Big Class table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt1 = open("$sample_data/Big Class.jmp");

// Make a subset using row 8
dt2 = dt1 &amp;lt;&amp;lt; Subset( Selected Rows( 0 ), Rows( [8] ),
	Selected columns only( 0 )
);

// Concatenate the new table back to big class
dt1 &amp;lt;&amp;lt; concatenate(dt2, append to first table);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 18:25:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37249#M21841</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2017-03-15T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Copy rows and change one column value</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37261#M21845</link>
      <description>&lt;P&gt;Thank you this worked for me and I've obtained my end goal.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 20:35:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-rows-and-change-one-column-value/m-p/37261#M21845</guid>
      <dc:creator>rossjason</dc:creator>
      <dc:date>2017-03-15T20:35:47Z</dc:date>
    </item>
  </channel>
</rss>

