Create a samc-class
object using the resistance and absorption data
#18
-
I am very sorry, I have deleted the original question, and placed it in the discussion forum. This is the code that runs in the sample script file: The following is the error message generated after running the code: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for moving it here; it'll help others working with older code that encounter this issue. Starting in version 1.4.0, some changes were made to the The parameters for the transition function now need to be grouped together into a list, and that list is then passed to the
A couple things to note:
For that workshop, another issue you might encounter is that lines with |
Beta Was this translation helpful? Give feedback.
Thanks for moving it here; it'll help others working with older code that encounter this issue.
Starting in version 1.4.0, some changes were made to the
samc()
function to make it easier to maintain and add new features. As of version 2.0.0, the old approach was permanently removed, which means some older code needs to be updated. Fortunately, it should be simple.The parameters for the transition function now need to be grouped together into a list, and that list is then passed to the
samc()
function. For your code, it would look like this: