<?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: Mettre en tableau in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636431#M83450</link>
    <description>&lt;P&gt;I would suggest using Summary instead of Tabulate. In this case you can use Eval() around your column listing&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

col_list = {"height", "weight"};

// using summary
dt_summary = dt &amp;lt;&amp;lt; Summary(
	Mean(Eval(col_list)),
	Freq("None"),
	Weight("None"),
	link to original datatable(0)
);

// using tabulate
tab = dt &amp;lt;&amp;lt; Tabulate(
	Show Control Panel(0),
	Add Table(Column Table(Analysis Columns(Eval(col_list)), Statistics(Mean)))
);

dt_tab = tab &amp;lt;&amp;lt; Make Into Data Table;
tab &amp;lt;&amp;lt; close Window;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 29 May 2023 11:55:22 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-05-29T11:55:22Z</dc:date>
    <item>
      <title>Mettre en tableau</title>
      <link>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636413#M83448</link>
      <description>&lt;DIV&gt;Bonjour à tous,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;J’ai un problème depuis un petit moment sur JMP, j’utilise l’option mettre en tableau pour calculer des moyennes (environ sur 900 colonnes)&lt;/DIV&gt;&lt;DIV&gt;Toutes les colonnes commencent par la même expression «&amp;nbsp;tps #numéro&amp;nbsp;»&lt;/DIV&gt;&lt;DIV&gt;Je cherche un script qui pourrait exécuter cette option mettre en tableau avec une variable dans laquelle serait stockée toutes ces colonnes « tps... »&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Un exemple de la base de donnée et du code que j’utilise :&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hcarr01_0-1685358633644.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53188iAD8A59E2EA8E9492/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hcarr01_0-1685358633644.png" alt="hcarr01_0-1685358633644.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();&lt;BR /&gt;abc_cols = Filter Each( {col_name}, dt &amp;lt;&amp;lt; Get Column Names( "String", Continuous ),
	Starts With( col_name, "tps" )
);


Local( {obj},
	obj = Data Table( "B" ) &amp;lt;&amp;lt; Tabulate(
		Show Control Panel( 0 ),
		Add Table(
			Column Table(
				Analysis Columns(
					Column(abc_cols)
				),
				Statistics( Mean )
			),
			Row Table ( Grouping Columns ( :Article))
			)
		);
	obj &amp;lt;&amp;lt; Make Into Data Table;	
	obj &amp;lt;&amp;lt; Close Window;
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:10:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636413#M83448</guid>
      <dc:creator>hcarr01</dc:creator>
      <dc:date>2023-06-09T16:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mettre en tableau</title>
      <link>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636431#M83450</link>
      <description>&lt;P&gt;I would suggest using Summary instead of Tabulate. In this case you can use Eval() around your column listing&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

col_list = {"height", "weight"};

// using summary
dt_summary = dt &amp;lt;&amp;lt; Summary(
	Mean(Eval(col_list)),
	Freq("None"),
	Weight("None"),
	link to original datatable(0)
);

// using tabulate
tab = dt &amp;lt;&amp;lt; Tabulate(
	Show Control Panel(0),
	Add Table(Column Table(Analysis Columns(Eval(col_list)), Statistics(Mean)))
);

dt_tab = tab &amp;lt;&amp;lt; Make Into Data Table;
tab &amp;lt;&amp;lt; close Window;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 May 2023 11:55:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636431#M83450</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-29T11:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mettre en tableau</title>
      <link>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636442#M83452</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Merci pour votre réponse, cela fonctionne correctement !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 13:03:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mettre-en-tableau/m-p/636442#M83452</guid>
      <dc:creator>hcarr01</dc:creator>
      <dc:date>2023-05-29T13:03:40Z</dc:date>
    </item>
  </channel>
</rss>

