cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
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