I have an object type my.object. One of its slots contains a data frame
(i.e. my.object@my.data.frame) .. I want to check if one of the variables
exists in this data frame (i.e. my.object@my.data.frame$my.var)

I am trying to use the exists function but can't figure out how the
arguments work. Please help.

So far I have tried

exists(my.object@my.data.frame$my.var)
exists("my.object@my.data.frame$my.var")
exists("my.var",where="my.object@my.data.frame")

	[[alternative HTML version deleted]]

