R/max_rel_diff.R

Defines functions max_rel_diff

Documented in max_rel_diff

   max_rel_diff <- function(x,y){
      return(max(diff(x) / diff(y), na.rm=TRUE))
   }

Try the wasim package in your browser

Any scripts or data that you put into this service are public.

wasim documentation built on May 1, 2019, 6:50 p.m.