search for: hexgon

Displaying 1 result from an estimated 1 matches for "hexgon".

Did you mean: hexagon
2011 Dec 12
0
limit ranges in hexbin
...d. I would like to plot some data using hexagonal binning. Currently, I am doing the following: library(hexbin) data<-scan("input.dat", what = list('numeric', 'numeric')) x<-unlist(data[1]) y<-unlist(data[2]) hbin<-hexbin(x, y) plot(hbin) That does get me a hexgonal bin plot, so far, so good. My problem now is twofold: 1) Some of my data points have really high values in x and y, and I would like to exclude them. First idea was to set xbnds and ybnds parameters for hexbin like this. hbin<-hexbin(x, y, xbins = 50, xbnds = c(0, 5000)) However, hexbin d...