max.stepfun function

Returns the maximum of a function of class stepfun.