<?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: Can text formatted content be written to the matrix and matched? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373852#M62348</link>
    <description>OK, thank you! Let me ask you another example.</description>
    <pubDate>Fri, 02 Apr 2021 06:37:13 GMT</pubDate>
    <dc:creator>lwx228</dc:creator>
    <dc:date>2021-04-02T06:37:13Z</dc:date>
    <item>
      <title>Can text formatted content be written to the matrix and matched?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373523#M62318</link>
      <description>&lt;P&gt;Can text formatted content be written to the matrix and matched?&lt;BR /&gt;For example, "Big Class" and "Big Class Families" match specified data by name.&lt;BR /&gt;1. "Big Class" Delete the "weight" column of "Big Class", write the "name" and "height" column into matrix ar, and add 2 columns to this matrix to store the "weight" data of matching "Big Class Families" and the following calculation results.&lt;BR /&gt;2. Use the corresponding "weight" data in "Big Class Families" in the form of matrix.&lt;BR /&gt;3. Get the "weight" of the match divided by the "height" in the matrix ar.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;d1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
d2 = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
d2 &amp;lt;&amp;lt; Sort( By( 2 ), Order( Descending ), replace table );
d1 &amp;lt;&amp;lt; delete columns( "weight" );
ar = d1 &amp;lt;&amp;lt; GetAsMatrix( {1, 4} );
br = d2 &amp;lt;&amp;lt; GetAsMatrix( {2, 6} );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is just for illustrative purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Experts!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:10:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373523#M62318</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2023-06-09T22:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can text formatted content be written to the matrix and matched?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373606#M62330</link>
      <description>&lt;P&gt;I think for use of text and numbers together, a table is the best container.&lt;/P&gt;&lt;P&gt;In a matrix there will not fit any text.&lt;/P&gt;&lt;P&gt;So why not use join of both tables to match the data by name?&lt;/P&gt;&lt;P&gt;In this case the join is not well defined, because there are two "ROBERT".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;d1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
d2 = Open( "$SAMPLE_DATA/Big Class Families.jmp" );
d2 &amp;lt;&amp;lt; Sort( By( 2 ), Order( Descending ), replace table );
d1 &amp;lt;&amp;lt; delete columns( "weight" );

d1 &amp;lt;&amp;lt; Join(
	With( d2 ),
	By Matching Columns( :name = :name ),
	Drop multiples( 0, 0 ),
	Include Nonmatches( 0, 0 ),
	Preserve main table order( 1 )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Apr 2021 17:53:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373606#M62330</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-04-01T17:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can text formatted content be written to the matrix and matched?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373852#M62348</link>
      <description>OK, thank you! Let me ask you another example.</description>
      <pubDate>Fri, 02 Apr 2021 06:37:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-text-formatted-content-be-written-to-the-matrix-and-matched/m-p/373852#M62348</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2021-04-02T06:37:13Z</dc:date>
    </item>
  </channel>
</rss>

