Displaying 1 result from an estimated 1 matches for "recfunc".
Did you mean:
rec_func
2011 Sep 13
1
implicit data frame reference
If I create an aggregation like this:
aggregate(lastYear[,8:10],list(Stadium=lastYear$STAD),mean)
I'll get a new data frame, which I can order if I assign it like this:
newFrame <- aggregate(lastYear[,8:10],list(Stadium=lastYear$STAD),mean)
newFrame[order(newFrame$TEMP),]
But.. if I just want to do this in one statement, what can I do? If this
was perl, I'd be using something like