I'm trying to generate matrix for working with networks in R.
I followed the following steps from this stack overflow post.
How to create an adjacency matrix from raw data which is non-numeric in nature
I created followed the three methodologyes from the post, but none of them work.
My data is structured this way:
UserID | TaskID
505050 | elx-1010
505051 | elz-1211
505052 | elx-1911
505053 | elz-1414
505054 | elf-1014
505055 | fze-1415
505056 | elx-1210
I have 50.000 rows of this data. My question is:
- The dataset is too big to be a matrix?
- The string column (TaskID) need to be integer?
- I worked with unique and non unique values. Does this matter to the results?
- I have 8 GB of RAM. When I run the command to make a matrix the notebook used all the memory for several time and after a few minutes give a results.
I'm working to elaborated weighted networks. It seems it is wrong because I will have a non-square matrix.