I'm trying to find the opposite of obtain ().
I want to immediately extract the character string that corresponds to an item based on its name.
Simple illustration using foo as a stand-in for the function I'm looking for.
Z is equal to data.frame(x=1:10, y=1:10).
Mean(a$x) = mean.x
My solution, which is more difficult to put into practise in my current issue, is:
Mean(get(a)$x) = mean.x