<?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: Eval &amp;amp; Expr in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37764#M22136</link>
    <description>Please can you give more details about what your final report should look like? Can you explain why the answer MS gave is not suitable? Have you tried using the Dashboard builder with local data filters on each graph?</description>
    <pubDate>Mon, 03 Apr 2017 07:28:39 GMT</pubDate>
    <dc:creator>stephen_pearson</dc:creator>
    <dc:date>2017-04-03T07:28:39Z</dc:date>
    <item>
      <title>Eval &amp; Expr</title>
      <link>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37636#M22075</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use next code:&lt;/P&gt;&lt;P&gt;x = summDt:Slot[1];&lt;BR /&gt;y = summDt:Slot[2];&lt;BR /&gt;z = summDt:Slot[3];&lt;BR /&gt;t = summDt:Slot[4];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Window( "EtchRate By (Slot) - Bivariate",&lt;BR /&gt;V List Box(&lt;BR /&gt;Bivariate(&lt;BR /&gt;Y( :Name( "Mean(ER)" ) ),&lt;BR /&gt;X( :Radius ),&lt;BR /&gt;Fit Each Value( {Line Color( {213, 72, 87} )} ),&lt;BR /&gt;Where( :Slot == eval(x)),&lt;BR /&gt;SendToReport(&lt;BR /&gt;Dispatch( {}, "Bivar Plot", FrameBox, {Marker Size( 4 )} )&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;Bivariate(&lt;BR /&gt;Y( :Name( "Mean(ER)" ) ),&lt;BR /&gt;X( :Radius ),&lt;BR /&gt;Fit Each Value( {Line Color( {213, 72, 87} )} ),&lt;BR /&gt;Where( :Slot== eval(y) ),&lt;BR /&gt;SendToReport(&lt;BR /&gt;Dispatch( {}, "Bivar Plot", FrameBox, {Marker Size( 4 )} )&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;Bivariate(&lt;BR /&gt;Y( :Name( "Mean(ER)" ) ),&lt;BR /&gt;X( :Radius ),&lt;BR /&gt;Fit Each Value( {Line Color( {213, 72, 87} )} ),&lt;BR /&gt;Where(:Slot==eval(z) ),&lt;BR /&gt;SendToReport(&lt;BR /&gt;Dispatch( {}, "Bivar Plot", FrameBox, {Marker Size( 4 )} )&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;Bivariate(&lt;BR /&gt;Y( :Name( "Mean(ER)" ) ),&lt;BR /&gt;X( :Radius ),&lt;BR /&gt;Fit Each Value( {Line Color( {213, 72, 87} )} ),&lt;BR /&gt;Where(:Slot== eval(t) ),&lt;BR /&gt;SendToReport(&lt;BR /&gt;Dispatch( {}, "Bivar Plot", FrameBox, {Marker Size( 4 )} )&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;But have issue with Eval function, how can I use it to show specific values from DT? I want to use Slot number without knowing it before each use, I know that I have 4 different Slot numbers and for each one need to build graph.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 20:10:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37636#M22075</guid>
      <dc:creator>RosDima</dc:creator>
      <dc:date>2017-03-29T20:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Eval &amp; Expr</title>
      <link>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37649#M22085</link>
      <description>&lt;P&gt;It should work without Eval(). Make sure that dt is the current data table or send the Bivariate() command to dt explicitly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$SAMPLE_DATA/Big Class.jmp");
dtsum = dt &amp;lt;&amp;lt; summary(Group(sex));

x = dtsum:sex[1];
y = dtsum:sex[2];

New Window("Height By Weight - Bivariate",
    V List Box(
        dt &amp;lt;&amp;lt; Bivariate(Y(:height), X(:weight), Where(:sex == x)),
        dt &amp;lt;&amp;lt; Bivariate(Y(:height), X(:weight), Where(:sex == y))
    )
);

//Alternative using By(), if all "slots" are to be graphed
New Window("Height By Weight - Bivariate",
    V List Box(dt &amp;lt;&amp;lt; Bivariate(Y(:height), X(:weight), By(:sex)))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Mar 2017 09:56:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37649#M22085</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-03-30T09:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Eval &amp; Expr</title>
      <link>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37758#M22134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of number it I am getting :sex==x, my goal to get :sex==Expr(x) ==&amp;gt; :sex==1, in case x=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 17:15:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37758#M22134</guid>
      <dc:creator>RosDima</dc:creator>
      <dc:date>2017-04-01T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Eval &amp; Expr</title>
      <link>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37764#M22136</link>
      <description>Please can you give more details about what your final report should look like? Can you explain why the answer MS gave is not suitable? Have you tried using the Dashboard builder with local data filters on each graph?</description>
      <pubDate>Mon, 03 Apr 2017 07:28:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Eval-amp-Expr/m-p/37764#M22136</guid>
      <dc:creator>stephen_pearson</dc:creator>
      <dc:date>2017-04-03T07:28:39Z</dc:date>
    </item>
  </channel>
</rss>

