I have an excel file with a table, which I transformed into a txt file. I try to upload this table to R using: df = read.table("nameofmyfile.txt", header = TRUE)
I've searched in multiple websites and they all referred this formula. Also, I made sure that the directory I want is the correct. However, when I use the formula the data simply don't appear (there is no error though). Wasn't the table supposed to appear?
Also, I will use these data to do a random sampling without replacement with weights. If anyone can help me with a pipeline for such would be amazing.