Please, can anyone help me? I want to replace some rows in a dataframe with other rows from a different dataframe. How can I perform this operation in R?
There are various ways to achieve this, all dependent on the specific example. Could you provide dummy dataframes, pointing out the rows you would like to replace?
A 'brute-force' approach, would be something like this: