<?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: Fit Group and By in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/339170#M58735</link>
    <description>&lt;P&gt;In this example, how do we modify the text in the title "Fit Group age=12..." for all the plots?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 19:25:12 GMT</pubDate>
    <dc:creator>satellite</dc:creator>
    <dc:date>2020-12-03T19:25:12Z</dc:date>
    <item>
      <title>Fit Group and By</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/49523#M28160</link>
      <description>&lt;P&gt;Is Fit Group supposed to actually force by graphs inside it to respect by columns?&amp;nbsp; It seems like the graphs are just being duplicated with a header that says Fit Group age=12, sex=M.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&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");
fg = dt &amp;lt;&amp;lt; Fit Group(
	dt &amp;lt;&amp;lt; OneWay( Y( :weight, :height ), X( :name ) ), 
	&amp;lt;&amp;lt;{Arrange in Rows(2)},
	By(:age, :Sex)
); //I like the way this looks but it doesn't seem to actually respect the By in the graphs

//this one respects the by but puts the groupings in each graph which is pretty ugly
//and doesn't arrange in rows
g1 = dt &amp;lt;&amp;lt; Oneway( Y( :weight, :height ), X( :name ), By(:age, :Sex) )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 06:42:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/49523#M28160</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2018-01-11T06:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group and By</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/49538#M28168</link>
      <description>&lt;P&gt;Are you looking for something closer to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;g2 = dt &amp;lt;&amp;lt; Fit Group( Oneway( Y( :weight, :height ), X( :name ), By(:age, :Sex) ), &amp;lt;&amp;lt; Arrange in Rows(2));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 15:27:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/49538#M28168</guid>
      <dc:creator>mjoner</dc:creator>
      <dc:date>2018-01-11T15:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group and By</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/49572#M28193</link>
      <description>&lt;P&gt;I've been able to do that.&amp;nbsp; The problem with that is that the description of the by is on each graph. Also it only creates one fit group.&amp;nbsp; I'd like to have 1 fit group per by with only the corresponding graphs in it.&amp;nbsp; &amp;nbsp;I have somewhere north of 10 columns in the by so it gets really ugly.&amp;nbsp; My real question is, why have fit group even have a by if it doesn't really do anything.&amp;nbsp; Or I may be missing something.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 21:40:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/49572#M28193</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2018-01-11T21:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group and By</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/50608#M28766</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2610"&gt;@vince_faller&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can include the By statement in both the call&amp;nbsp;to Oneway() and Fit Group() and JMP will arrange the output accordingly. Is this what you were looking for?&amp;nbsp;&lt;/P&gt;
&lt;P&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");
g2 = dt &amp;lt;&amp;lt; Fit Group( Oneway( Y( :weight, :height ), X( :name ), By(:age, :Sex) ), &amp;lt;&amp;lt; Arrange in Rows(2), By(:age, :Sex));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2018-02-01 at 9.33.38 PM.png" style="width: 367px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9164i1142DFD1A0AD834D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-02-01 at 9.33.38 PM.png" alt="Screen Shot 2018-02-01 at 9.33.38 PM.png" /&gt;&lt;/span&gt;You mentioned that you may have up to 10 By variables, which means the titles on the "Oneway Analysis" outline boxes will get pretty unruly. You could remove them altogether (which will also hide the Red Triangle menu) with the following code:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;( g2 &amp;lt;&amp;lt; XPath("//OutlineBox[@helpKey='Oneway Report']") ) &amp;lt;&amp;lt; {Set Title( "" )};&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2018-02-01 at 10.12.01 PM.png" style="width: 339px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9167iE4256FD09B9D4054/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-02-01 at 10.12.01 PM.png" alt="Screen Shot 2018-02-01 at 10.12.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, you could rename them all with just a space to retain the red triangle menu but have a cleaner view:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;( g2 &amp;lt;&amp;lt; XPath("//OutlineBox[@helpKey='Oneway Report']") ) &amp;lt;&amp;lt; {Set Title( " " )};&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2018-02-01 at 10.07.22 PM.png" style="width: 339px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/9166iEBF034C7FEFD18A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2018-02-01 at 10.07.22 PM.png" alt="Screen Shot 2018-02-01 at 10.07.22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 03:12:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/50608#M28766</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2018-02-02T03:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fit Group and By</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/339170#M58735</link>
      <description>&lt;P&gt;In this example, how do we modify the text in the title "Fit Group age=12..." for all the plots?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 19:25:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-Group-and-By/m-p/339170#M58735</guid>
      <dc:creator>satellite</dc:creator>
      <dc:date>2020-12-03T19:25:12Z</dc:date>
    </item>
  </channel>
</rss>

