<?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 Selecting Column By Modeling Type in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339337#M58754</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to perform the following actions on a data table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add a row &amp;gt;&amp;gt; Select all Columns Based with Numeric Data Type &amp;gt;&amp;gt; Add a "0" to the New Row in all of these columns &amp;gt;&amp;gt; Add Equal Number of New Columns at End of the Data table as those selected &amp;gt;&amp;gt; Insert Formula into the New Columns Created &amp;gt;&amp;gt; Rename New Columns Based of Formula Reference Column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The biggest issue I am having at this point in selecting the columns based on Modeling Type or Data Type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The purpose of this is to remove duplicate values in columns base on value in the previous row. The parameters being analyzed in project maintain the same value until a new analysis is called for. This creates scatter plots with "plateaus" due to the repeating values. I am trying to eliminate the plateauing to better overlay trends from multiple parameter measurements. Any help would be greatly appreciated. Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 21:59:45 GMT</pubDate>
    <dc:creator>JoshC</dc:creator>
    <dc:date>2023-06-09T21:59:45Z</dc:date>
    <item>
      <title>Selecting Column By Modeling Type in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339337#M58754</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to perform the following actions on a data table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add a row &amp;gt;&amp;gt; Select all Columns Based with Numeric Data Type &amp;gt;&amp;gt; Add a "0" to the New Row in all of these columns &amp;gt;&amp;gt; Add Equal Number of New Columns at End of the Data table as those selected &amp;gt;&amp;gt; Insert Formula into the New Columns Created &amp;gt;&amp;gt; Rename New Columns Based of Formula Reference Column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The biggest issue I am having at this point in selecting the columns based on Modeling Type or Data Type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The purpose of this is to remove duplicate values in columns base on value in the previous row. The parameters being analyzed in project maintain the same value until a new analysis is called for. This creates scatter plots with "plateaus" due to the repeating values. I am trying to eliminate the plateauing to better overlay trends from multiple parameter measurements. Any help would be greatly appreciated. Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 21:59:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339337#M58754</guid>
      <dc:creator>JoshC</dc:creator>
      <dc:date>2023-06-09T21:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Column By Modeling Type in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339376#M58757</link>
      <description>&lt;P&gt;Give this a shot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

dt = Current Data Table();
dt &amp;lt;&amp;lt; Add Rows( 1, At Start );&lt;BR /&gt;
For( i = 1, i &amp;lt;= N Cols( dt ) , i++,
	If( Column( i ) &amp;lt;&amp;lt; Get Data Type() == "Numeric",
		Column( i )[ 1 ] = 0
	)
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Does this handle the part you're struggling with?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 21:25:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339376#M58757</guid>
      <dc:creator>Ross_Metusalem</dc:creator>
      <dc:date>2020-12-04T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting Column By Modeling Type in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339380#M58759</link>
      <description>&lt;P&gt;This snippet selects the numeric columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt= open("$SAMPLE_DATA\Big Class.jmp");
dt &amp;lt;&amp;lt; select columns(dt &amp;lt;&amp;lt; get column names("Numeric"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Dec 2020 22:50:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Selecting-Column-By-Modeling-Type-in-JSL/m-p/339380#M58759</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2020-12-04T22:50:42Z</dc:date>
    </item>
  </channel>
</rss>

