How can I extract the name of a data.frame in R as a character?
data.frame
For example, if I have data.frame named df, I want to get "df" as a character object.
df
a <- data.frame() deparse(substitute(a)) [1] "a"
This is also how plot knows what to put on the axes
plot
1.4m articles
1.4m replys
5 comments
57.0k users