Is there a way to compare whether two function objects are the same?
m <- mean m == mean ## don\'t work ## this seems not to be the correct way: function
You can use identical:
identical
identical(m,mean)