Error in `rename()`: ! Can't rename columns that don't exist.
in
The Complete Data Visualization Course with Python, R, Tableau, and Excel
/
Line Chart - R - How to Create a Line Chart
Due to this error, I can't run this code
2 answers ( 0 marked as helpful)
Hi Tahmina, thanks for reaching out!
Could you send me a screenshot of how your data looks? In particular, this error says that you have no column named 'Returns', so I'm wondering whether there is a small typo in the column name, or if you meant another column alltogether.
Let me know!
Best,
365 Eli
Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Hi Tahmina Huseynova , make sure you have loaded library(plyr)... I was getting the same error when I didn't load this library.