<?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: entering the last value of a list in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30917#M19612</link>
    <description>&lt;P&gt;If the data&amp;nbsp;type of the Values column is "Character" (and therefore the modeling type of the Values column is either nominal or ordinal), then x is a list instead of a matrix. (Values in a list is enclosed in curly braces {} instead of brackets [] ). In that case try using&amp;nbsp;the N Items() function instead of the N Rows() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lastitem = x[N Items( x )];&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 20:46:30 GMT</pubDate>
    <dc:creator>hlrauch</dc:creator>
    <dc:date>2016-11-30T20:46:30Z</dc:date>
    <item>
      <title>entering the last value of a list</title>
      <link>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30838#M19566</link>
      <description>&lt;P&gt;I'm attempting to get the last value from a list that was created using the following:&lt;/P&gt;&lt;P&gt;x = :Values &amp;lt;&amp;lt; get values;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using x[n rows()] since I know that works with the get as matrix() function, but the list is nominal and I keep getting an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated. I'm using JMP 11&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 17:12:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30838#M19566</guid>
      <dc:creator>danielharding0</dc:creator>
      <dc:date>2016-11-29T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: entering the last value of a list</title>
      <link>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30841#M19568</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x[nrows(x)];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That should do it.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 18:09:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30841#M19568</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2016-11-29T18:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: entering the last value of a list</title>
      <link>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30917#M19612</link>
      <description>&lt;P&gt;If the data&amp;nbsp;type of the Values column is "Character" (and therefore the modeling type of the Values column is either nominal or ordinal), then x is a list instead of a matrix. (Values in a list is enclosed in curly braces {} instead of brackets [] ). In that case try using&amp;nbsp;the N Items() function instead of the N Rows() function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lastitem = x[N Items( x )];&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 20:46:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/30917#M19612</guid>
      <dc:creator>hlrauch</dc:creator>
      <dc:date>2016-11-30T20:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: entering the last value of a list</title>
      <link>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/31125#M19704</link>
      <description>works great. Thanks</description>
      <pubDate>Fri, 02 Dec 2016 22:00:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/entering-the-last-value-of-a-list/m-p/31125#M19704</guid>
      <dc:creator>danielharding0</dc:creator>
      <dc:date>2016-12-02T22:00:18Z</dc:date>
    </item>
  </channel>
</rss>

