powered by
Calculates the minimum enclosing rectangle (MER) from a set of points (x,y)
MER(thepoints)
dataframe of points ie c(x,y)
list of 4 doubles = xmin,xmax,ymin,ymax
calculates the MER of a set of numbers'
# NOT RUN { x <- runif (20,0,10) y <- runif (20,0,10) df <- data.frame(x,y) MER (df) # }
Run the code above in your browser using DataLab