<?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: Add values above a particular value to Missing Value Codes in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822385#M100192</link>
    <description>&lt;DIV&gt;Added an iterative loop and colouring for the eliminated cells off to the races.&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Current Data Table();

colnames = dt &amp;lt;&amp;lt; get column names( numeric,string );
meanlist = {};
For( i = 1, i &amp;lt;= N Items( colnames ), i++,	
m = dt[0, colnames[i]];
high_rows = Loc(m &amp;gt; 1000000);

column(dt,colnames[i]) &amp;lt;&amp;lt; Set Property("Missing Value Codes", As List(m[high_rows]));
column(dt,colnames[i]) &amp;lt;&amp;lt; Color Cells("Red", high_rows);

Write();
	
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 13 Dec 2024 16:35:33 GMT</pubDate>
    <dc:creator>SpannerHead</dc:creator>
    <dc:date>2024-12-13T16:35:33Z</dc:date>
    <item>
      <title>Add values above a particular value to Missing Value Codes</title>
      <link>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822240#M100176</link>
      <description>&lt;P&gt;I looked through the forum and I didn't see this posted.&amp;nbsp; I want to add all values in a data table that are greater than a particular value to be included as missing value codes.&amp;nbsp; The approach I was thinking of was to iteratively define all those values in a list and then add that list to the iteration like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( dt, colNames[i] ) &amp;lt;&amp;lt; set property ("Missing Value Codes", {999, -999, 1e+13, 1.5e13, 2e+13, 3e+13, 4e+13, 5e+13, 6e+13, 1e+30, 2e+30, 3e+30, -5.5e+29, 9e+33});&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone figure this out?&amp;nbsp; If not, I'll work something out and post that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 17:17:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822240#M100176</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2024-12-12T17:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add values above a particular value to Missing Value Codes</title>
      <link>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822262#M100180</link>
      <description>&lt;P&gt;Until we get this, you have to use something like you have described&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Allow using limits in Missing Value Codes or provide new column property with same functionality" uid="545897" url="https://community.jmp.com/t5/JMP-Wish-List/Allow-using-limits-in-Missing-Value-Codes-or-provide-new-column/m-p/545897#U545897" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&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");

limit = 55;
m = dt[0, "height"];
high_rows = Loc(m &amp;gt; 55);

Column(dt, "height") &amp;lt;&amp;lt; Set Property("Missing Value Codes", As List(m[high_rows]));

Write();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Dec 2024 18:13:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822262#M100180</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-12-12T18:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Add values above a particular value to Missing Value Codes</title>
      <link>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822385#M100192</link>
      <description>&lt;DIV&gt;Added an iterative loop and colouring for the eliminated cells off to the races.&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = Current Data Table();

colnames = dt &amp;lt;&amp;lt; get column names( numeric,string );
meanlist = {};
For( i = 1, i &amp;lt;= N Items( colnames ), i++,	
m = dt[0, colnames[i]];
high_rows = Loc(m &amp;gt; 1000000);

column(dt,colnames[i]) &amp;lt;&amp;lt; Set Property("Missing Value Codes", As List(m[high_rows]));
column(dt,colnames[i]) &amp;lt;&amp;lt; Color Cells("Red", high_rows);

Write();
	
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Dec 2024 16:35:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-values-above-a-particular-value-to-Missing-Value-Codes/m-p/822385#M100192</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2024-12-13T16:35:33Z</dc:date>
    </item>
  </channel>
</rss>

