Luke Shepherd Posted September 4, 2023 Share Posted September 4, 2023 I'm performing some modelling and have 6 columns (3 in X (x1,x2,x3), 3 in Y (y1,y2,y3)) each with thousands of rows. For each row I want to calculate the slope of the Deming regression of the X and Y values and output it to a new column.I'm brand new to Python/R - wanting to start to pick it up but I need to solve this problem a little sooner than I will be able to myself. Link to comment Share on other sites More sharing options...
Julieta Diaz Posted September 4, 2023 Share Posted September 4, 2023 Hi Luke,You can create a TERR data function in Spotfire and use the mcr package to perform the Demin regression.Here is the documentation about how to register a data function in Spotfire And here you can find an example of how to use the mcr packageHope this is helpful.Best regards, Link to comment Share on other sites More sharing options...
Luke Shepherd Posted September 4, 2023 Author Share Posted September 4, 2023 Thanks for the information Julieta, I'm struggling to understand how to combine this together with the 6 columns I have, and what is going on in the code. I haven't worked with R before so putting together a working script is difficult. Link to comment Share on other sites More sharing options...
Alain Martens Posted September 4, 2023 Share Posted September 4, 2023 Hi Luke, I'm happy to help you with this. Would you be available for a zoom/teams call? In that case I can assist you. Please let me what time works for you. P.S. I'm on CEST timezone (based in The Netherlands). Thanks,Alain Link to comment Share on other sites More sharing options...
Luke Shepherd Posted September 5, 2023 Author Share Posted September 5, 2023 Thank you for the offer Alain, however as its on my work laptop I don't think I'm allowed to make such external calls.Thanks,Luke Link to comment Share on other sites More sharing options...
Alain Martens Posted September 5, 2023 Share Posted September 5, 2023 Hi Luke, I have plenty of calls with your ASML colleagues from their work laptop as I often offer support like this. Let me know if that changes things. Thanks,Alain Link to comment Share on other sites More sharing options...
Alain Martens Posted September 11, 2023 Share Posted September 11, 2023 Hi Luke, Do you perhaps have an update on this? Happy to help you with this. Thanks,Alain Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now