<?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: &amp;quot;apply&amp;quot; value labels in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628489#M82681</link>
    <description>&lt;P&gt;wonderful, thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 13:35:45 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2023-05-04T13:35:45Z</dc:date>
    <item>
      <title>"apply" value labels</title>
      <link>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628388#M82672</link>
      <description>&lt;P&gt;When I &lt;EM&gt;remove&lt;/EM&gt; a &lt;STRONG&gt;formula&lt;/STRONG&gt; from a column, the calculated values stay.&lt;/P&gt;&lt;P&gt;When I &lt;EM&gt;remove&lt;/EM&gt; a &lt;STRONG&gt;Value Labels&lt;/STRONG&gt; Property from a column, the values switch back to the original values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an alternative &lt;EM&gt;&lt;STRONG&gt;remove (~ "apply")&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;function for value Labels, which converts the data type of the column to character and keeps the Value Labels?&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" );

dt &amp;lt;&amp;lt; New Column( "sex2",
	Formula(Recode(:sex,{Map Value( _rcOrig, {"F", "female", "M", "male"} )}));
);
dt:sex 2 &amp;lt;&amp;lt; Delete Formula;

dt:sex &amp;lt;&amp;lt; Value Labels( {"F" = "female", "M" = "male"} ) &amp;lt;&amp;lt; Use Value Labels( 1 );
dt:sex &amp;lt;&amp;lt; delete property( Value Labels );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Jun 2023 00:00:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628388#M82672</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-11T00:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: "apply" value labels</title>
      <link>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628413#M82676</link>
      <description>&lt;P&gt;Removed to reduce confusion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 13:34:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628413#M82676</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-05-04T13:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: "apply" value labels</title>
      <link>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628420#M82677</link>
      <description>&lt;P&gt;After you have Value Labels set&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1683199060445.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52550iBB94BAE344D88C86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1683199060445.png" alt="jthi_0-1683199060445.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and you go to recode columns you will have an option for recoding them&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1683199195598.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52552iB8545FBEB1200543/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1683199195598.png" alt="jthi_2-1683199195598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1683199234242.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52553i95E2EAB1EE5BC7BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1683199234242.png" alt="jthi_3-1683199234242.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;this seems to replace the values with labels&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 11:21:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628420#M82677</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-04T11:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: "apply" value labels</title>
      <link>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628489#M82681</link>
      <description>&lt;P&gt;wonderful, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 13:35:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/quot-apply-quot-value-labels/m-p/628489#M82681</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-05-04T13:35:45Z</dc:date>
    </item>
  </channel>
</rss>

