Using match to change columns

Hi, does anyone know how i can change a column’s names using match? I have a table with a column as “variables” and “names” and another table were the first line are the same variables. I want to replace the line of the second column with “names”. Any idea how i can do that using the match command?

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.