search for: retrusn

Displaying 1 result from an estimated 1 matches for "retrusn".

Did you mean: retrun
2007 May 12
1
function similar to "get" that works for both an object, and elements of an object?
...#(I want the function to be able to return objects, and/or the deeper elements of an object.) #(i.e. elements of a dataframe and/or list)? #e.g. tempdf = data.frame(a=c(4,5,6) , b=c(10,11,12) ) templist= list(x=tempdf, y=c(1,2)) get('tempdf') #works as desired get('tempdf$a') #retrusn errro message get('templist$x') #retrusn errro message --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time [[alternative HTML version deleted]]