You are not logged in. Log in
|
|
radR project > FAQ > I put the data from two scans into different variables but they look the same. Why?
I put the data from two scans into different variables but they look the same. Why?From $1Table of contentsNo headersThe extmats such as RSS$scan.mat use persistent storage, so the following won't do what you expect:
In fact, x and y refer to the same storage and so have the same data, which you can confirm by doing:
To get around this, you need to force conversion of the data to a native R matrix by using indexing like this:
The tendency for R to copy objects is one reason radR uses extmats for large matrices.
Was this page helpful?
Tags: (Edit tags)
|
Powered by MindTouch Core |