Posts by tais • 11 points
1 post
-
1
votes3
answers61
viewsQ: How to transform data frame variables into the indexes of a matrix with R?
I have a data frame with a lot of information and need to rearrange it in another matrix. The data frame is of the type: userID itemID rating 169 242 3 186 302 3 22 377 1 (the matrix has 10,000…