<?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 In scripting can I use the column grouping in an analysis? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/In-scripting-can-I-use-the-column-grouping-in-an-analysis/m-p/470750#M71491</link>
    <description>&lt;P&gt;I have written a script to group columns 3 to 52 in my data table and name the group First 50 bins.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = current data table();
// Group columns 3 to 52 (bins 1 to 50)
FirstBin = column name(3);&amp;nbsp; //column “Bin 0212” in this case, but different for each new data set
ata Table( dt ) &amp;lt;&amp;lt; Group Columns( " First 50 bins ", FirstBin, 50);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Saving the script from an analysis I get a list of the column names (even if the group name was selected in the dialogue box)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Discriminant(
	X( :Class for LDA ),
	Y(
		:Bin 0212, :Bin 0205, :Bin 0207,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is it possible to use the group name instead of the column names?&amp;nbsp; If not, please can someone suggest an alternative approach.&amp;nbsp; Ideally, I would rather not create a new table as I want my users to have a single data template, load their new data and then analyze by running two or three prepared scripts.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 18:13:32 GMT</pubDate>
    <dc:creator>TDF</dc:creator>
    <dc:date>2023-06-09T18:13:32Z</dc:date>
    <item>
      <title>In scripting can I use the column grouping in an analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/In-scripting-can-I-use-the-column-grouping-in-an-analysis/m-p/470750#M71491</link>
      <description>&lt;P&gt;I have written a script to group columns 3 to 52 in my data table and name the group First 50 bins.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = current data table();
// Group columns 3 to 52 (bins 1 to 50)
FirstBin = column name(3);&amp;nbsp; //column “Bin 0212” in this case, but different for each new data set
ata Table( dt ) &amp;lt;&amp;lt; Group Columns( " First 50 bins ", FirstBin, 50);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Saving the script from an analysis I get a list of the column names (even if the group name was selected in the dialogue box)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Discriminant(
	X( :Class for LDA ),
	Y(
		:Bin 0212, :Bin 0205, :Bin 0207,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is it possible to use the group name instead of the column names?&amp;nbsp; If not, please can someone suggest an alternative approach.&amp;nbsp; Ideally, I would rather not create a new table as I want my users to have a single data template, load their new data and then analyze by running two or three prepared scripts.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:13:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/In-scripting-can-I-use-the-column-grouping-in-an-analysis/m-p/470750#M71491</guid>
      <dc:creator>TDF</dc:creator>
      <dc:date>2023-06-09T18:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: In scripting can I use the column grouping in an analysis?</title>
      <link>https://community.jmp.com/t5/Discussions/In-scripting-can-I-use-the-column-grouping-in-an-analysis/m-p/470769#M71492</link>
      <description>&lt;P&gt;I think this post could help you &lt;LI-MESSAGE title="jsl: how to plot using a list of groups?" uid="470443" url="https://community.jmp.com/t5/Discussions/jsl-how-to-plot-using-a-list-of-groups/m-p/470443#U470443" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; as it is fairly similar. Using column groups to run oneway analysis&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 13:26:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/In-scripting-can-I-use-the-column-grouping-in-an-analysis/m-p/470769#M71492</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-03-17T13:26:18Z</dc:date>
    </item>
  </channel>
</rss>

