cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

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

Recommended Articles