<?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 Data Transformation : Automatic Transform also Specs Limit in Column Properties in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/773551#M95481</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am opening this new discussion, as I'm not able to find any related discussion to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have input Specs Limit in the Column Properties in a column of data.&lt;/P&gt;&lt;P&gt;When I do a Data Transformation on this column of data, JMP will create a new column with the transformed data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this transformed data column do not contain any transformed specs limit (from the original data column).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question : Is there anyway JMP can also transformed the specs limit (in the column properties of the original data) to the new transformed data column properties?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 09:11:00 GMT</pubDate>
    <dc:creator>Zappy</dc:creator>
    <dc:date>2024-07-17T09:11:00Z</dc:date>
    <item>
      <title>Data Transformation : Automatic Transform also Specs Limit in Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/773551#M95481</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am opening this new discussion, as I'm not able to find any related discussion to this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have input Specs Limit in the Column Properties in a column of data.&lt;/P&gt;&lt;P&gt;When I do a Data Transformation on this column of data, JMP will create a new column with the transformed data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, this transformed data column do not contain any transformed specs limit (from the original data column).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question : Is there anyway JMP can also transformed the specs limit (in the column properties of the original data) to the new transformed data column properties?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 09:11:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/773551#M95481</guid>
      <dc:creator>Zappy</dc:creator>
      <dc:date>2024-07-17T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transformation : Automatic Transform also Specs Limit in Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/773579#M95485</link>
      <description>&lt;P&gt;JMP does not have a built in way to transform the Spec Limits.&amp;nbsp; However, it is easily done with a simple script.&amp;nbsp; The below script creates a new column in the Semiconductor Capability data table.&amp;nbsp; The new column is a Log Transformation of column NPN1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The script then exacts the current Spec Limits from the NPN1 column and then applies the same transform formula to them as it sets the Spec Limits in the new data column.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here( 1 );
dt = 
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

dt &amp;lt;&amp;lt; new column( "Log NPN1", formula(log(:NPN1)));

specs = dt:NPN1 &amp;lt;&amp;lt; get property("Spec Limits");

Eval(
	Eval Expr(
		dt:Log NPN1 &amp;lt;&amp;lt; set property(
			"Spec limits",
			{LSL( Expr( Log( specs["LSL"] ) ) ), Target( Expr( Log( specs["Target"] ) ) ),
			USL( Expr( Log( specs["USL"] ) ) )}
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jul 2024 11:57:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/773579#M95485</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-07-17T11:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transformation : Automatic Transform also Specs Limit in Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/797234#M97308</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;I found your code looking for a solution to a slightly different problem.&amp;nbsp; I want to extract the spec limits and then assign them to a new table, but the code fails if "LSL" or "USL" are not assigned to the column.&amp;nbsp; Does your code deal with missing spec limits?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 17:34:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/797234#M97308</guid>
      <dc:creator>ChrisMuenzer</dc:creator>
      <dc:date>2024-09-09T17:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data Transformation : Automatic Transform also Specs Limit in Column Properties</title>
      <link>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/797235#M97309</link>
      <description>&lt;P&gt;Most of the code in the community is intended to show the general approach - and needs some fine-tuning to be robust against any problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, just replace&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;specs["LSL"]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Try(specs["LSL"],.)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If there is no lower spec, the list indexing will throw an error , "Try" will catch it and return ".", i.e. missing .&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 17:58:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Data-Transformation-Automatic-Transform-also-Specs-Limit-in/m-p/797235#M97309</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-09-09T17:58:14Z</dc:date>
    </item>
  </channel>
</rss>

