I would like to put an output from R to my appendix in my thesis; however when I pasted it to Word, the columns were moved.
Do you have any idea how to adjust it to be exactly the same as in R? so that it is easier to read
This question would better fit to Stackoverflow. However, you could export the dataframe (df) with
write.csv(df, "clipboard", row.names = FALSE) to the clipboard. Paste it in Excel and copy this to Word. You now should have a table in Word.