cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
lala
Level VIII

How can use a script to match data directly from a matrix?

For example: Get the memory matrix ar with the following script.
How do match data directly from a matrix with a script?

2022-10-10_10-21-16.png
Achieve something like this:

dt<<Update(With(d2),Match Columns(age=age));

Thanks!

1 REPLY 1
jthi
Super User

Re: How can use a script to match data directly from a matrix?

One option would be to first use << Get Rows Where to get row indices for age and then Data table subscripting to add the values, but if you don't have to use matrices using JMP's join/update might be faster. So it might be a good idea to create a table from the resulting matrix and then join/update that to the table.

-Jarmo