Suppose I assign data=Abortion
(Abortion data set given in the ltm
package). I have some function where one of the inputs is data.
While using the function, I will write.
function.name(data=Abortion)
For writing the summary of the results I want the name of the data set I used; here in this case it is Abortion
.
How can I get that name back?
In more general sense. suppose I have some object which has some name abc
. I assign xyz=abc
and now how can I get the name abc
back?