<?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 JSL code for summary table creation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-code-for-summary-table-creation/m-p/594449#M79821</link>
    <description>&lt;P&gt;im creating a summary table from dt1 called dt2. Code below. does anyone know the code for statistics column name format? i need it to be column stat.&lt;/P&gt;
&lt;P&gt;I think when its default is stat(column), it throws off the join.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2 = dt1 &amp;lt;&amp;lt; Summary(
	Group(:lot),
	Mean(:x, :y, :z),
	Freq("None"),
	Weight("None"),
	Link to original data table(0),
	statistics column name format("column stat")
);


dt1 &amp;lt;&amp;lt; Update(
	With(dt2),
	Match Columns(:lot = :lot, ),
	Add Columns from Update table(:Mean(x), :Mean(y), :Mean(z))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 16:40:16 GMT</pubDate>
    <dc:creator>BackwardTiger97</dc:creator>
    <dc:date>2023-06-08T16:40:16Z</dc:date>
    <item>
      <title>JSL code for summary table creation</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-code-for-summary-table-creation/m-p/594449#M79821</link>
      <description>&lt;P&gt;im creating a summary table from dt1 called dt2. Code below. does anyone know the code for statistics column name format? i need it to be column stat.&lt;/P&gt;
&lt;P&gt;I think when its default is stat(column), it throws off the join.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt2 = dt1 &amp;lt;&amp;lt; Summary(
	Group(:lot),
	Mean(:x, :y, :z),
	Freq("None"),
	Weight("None"),
	Link to original data table(0),
	statistics column name format("column stat")
);


dt1 &amp;lt;&amp;lt; Update(
	With(dt2),
	Match Columns(:lot = :lot, ),
	Add Columns from Update table(:Mean(x), :Mean(y), :Mean(z))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:40:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-code-for-summary-table-creation/m-p/594449#M79821</guid>
      <dc:creator>BackwardTiger97</dc:creator>
      <dc:date>2023-06-08T16:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: JSL code for summary table creation</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-code-for-summary-table-creation/m-p/594462#M79823</link>
      <description>&lt;P&gt;I edited your message to add JSL formatting and fixed missing , (maybe the missing , was issue you were having?). Create summary with JMP and then copy the script from Source table script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table("Big Class") &amp;lt;&amp;lt; Summary(
	Mean(:height),
	Mean(:weight),
	Freq("None"),
	Weight("None"),
	statistics column name format("column stat")
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1674931904564.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/49577i5BFC4705873AB219/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1674931904564.png" alt="jthi_0-1674931904564.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 18:53:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-code-for-summary-table-creation/m-p/594462#M79823</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-01-28T18:53:11Z</dc:date>
    </item>
  </channel>
</rss>

