I have a function that takes a data frame as an argument. In that function I need to use if/else
construct to do some actions based on the data frame used as argument. for example, I need to be able to say
if (name of data frame=="Anthro_Data") {do this}
else if (the name of data frame=="Sports") {do that}
.
The problem I am having is that I don't know how to get the name of the data frame (as a string) in order to use it. Any suggestions!