I’m trying to create a new 4-column matrix. Each column are from a different data frame.
The problem is that the four original data frame don’t have the same row length, so I can’t use the classic code.
This is my code
New=data.frame(a$col2,b$col2,c$col2,d$col2,)
And I have this error
Error in data.frame(…
arguments imply differing number of rows:
Thank you very much for your help!
New contributor
Lény Calvez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.