directlabels - utility.function - Positioning Method - midrange

Point halfway between the min and max

midrange <- function(x){
  r <- range(x)
  (r[2]-r[1])/2+r[1]
}
Please contact Toby Dylan Hocking if you are using directlabels or have ideas to contribute, thanks!
Documentation website generated from source code version 2014.1.27 (svn revision 675) using inlinedocs.
validate