search for: hexbin

Displaying 20 results from an estimated 94 matches for "hexbin".

2016 Jul 12
3
Forking and adapting an R package
Hello. I'm trying to adapt the package ?hexbin? to suit my needs. This is the first time I do this. I've read a bit through Hadley's ?R packages?, but now I'm pretty lost (from a workflow point of view). I am using RStudio and Hadley's devtools. So I forked the repo I want to adapt: https://github.com/grssnbchr/hexbin and clo...
2016 Jul 12
3
Forking and adapting an R package
Hello. I'm trying to adapt the package ?hexbin? to suit my needs. This is the first time I do this. I've read a bit through Hadley's ?R packages?, but now I'm pretty lost (from a workflow point of view). I am using RStudio and Hadley's devtools. So I forked the repo I want to adapt: https://github.com/grssnbchr/hexbin and clo...
2016 Jul 12
2
[R] Forking and adapting an R package
On 12/07/2016 7:28 AM, timo at timogrossenbacher.ch wrote: > Hello. > > I'm trying to adapt the package ?hexbin? to suit my needs. This is the first > time I do this. I've read a bit through Hadley's ?R packages?, but now I'm > pretty lost (from a workflow point of view). I am using RStudio and Hadley's > devtools. > > So I forked the repo I want to adapt: https://github.com/gr...
2004 Nov 09
1
gplot.hexbin - how to set figure margin.
Hi, Would like to use to the hexbin package to plot a 2D hist - because it looks really _cool_. My problem is related to drawing a pdf hexbin graphic in series of other graphics. All other figures have a par(mar=c(3.2,3.2,1,1)). So the gplot.hexbin figure in this series looks a little alienated? Was trying a to specify the _mar_ u...
2005 Mar 31
1
hexbin and grid - input data values as coordinates
Dear all, I am trying to use hexbin and read the very interesting article on grid ( http://www.ci.tuwien.ac.at/Conferences/useR-2004/Keynotes/Murrell.pdf ) and am hoping for some advice from more experienced users of hexbin. I am trying to visualise a data and fit a straight line trough it. For example, here is how I would do it in...
2012 Mar 22
3
How to export hexbin tables?
Hi all! I'm trying to save an output of the HEXBIN process... is so much data (105k), and I need to export to an ASCII file. I tried to use: write.table() ----> Error in as.data.frame.default(x[[i]], optional = TRUE) : cannot coerce class 'structure("hexbin", package = "hexbin")' into a data.frame cat() ---&g...
2007 Oct 19
1
Using grid graphics (hexbin) in pairs() plot problem
Hi, I am trying to create a plot with pairs() using a gplot.hexbin() for each pair. For pairs I can provide a custom upperPanel function: pairs(iris[1:4], panel=mypanel) and mypanel() calls plot.hexbin(): library(hexbin) # Bioconductor mypanel <- function(x, ...){ hb <- hexbin(x) plot(hb) } The problem is that gplot.hexbi...
2016 Jul 13
0
[R] Forking and adapting an R package
> Duncan Murdoch <murdoch.duncan at gmail.com> hat am 12. Juli 2016 um 19:38 > geschrieben: > > On 12/07/2016 7:28 AM, timo at timogrossenbacher.ch wrote: > > Hello. > > > > I'm trying to adapt the package ?hexbin? to suit my needs. This is the first > > time I do this. I've read a bit through Hadley's ?R packages?, but now I'm > > pretty lost (from a workflow point of view). I am using RStudio and Hadley's > > devtools. > > > > So I forked the repo I want to ada...
2009 Jun 28
1
help with hexbin package
Dear All i am trying to figure out the use of hexbin function in the hexbin package --can any one send me a working example of the same The > example(hexbin) ---option is of not much use Thanks Kind regards Ravi [[alternative HTML version deleted]]
2007 Sep 27
1
problem loading hexbin associated package colorspace
I have lots of data that I need to display, and I think hexbin would be good for it. However, I cannot load one of the requried packages associated with the hexbin package: > library(hexbin) Loading required package: colorspace Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) : in 'colorspace' methods...
2011 Dec 12
0
limit ranges in hexbin
Hello everybody, I hope you can give me some help with limiting the ranges in x, y, and z for a hexbin plot. All I have found on the net is an unanswered message to this list from last year, so I hope my problem is not too stupid. I would like to plot some data using hexagonal binning. Currently, I am doing the following: library(hexbin) data<-scan("input.dat", what = list('nume...
2012 Mar 18
1
problem saving gplot.hexbin using file save as pdf - "Error: invalid graphics state
...error "Error: invalid graphics state" when trying to save as pdf and I have to restart R. This happens when I add mtext lines. There are a few other questions e.g. I want to move the mtext on side 1 to the left, but that is the main issue for now. I'm not using the ylab inside gplot.hexbin because it writes over the numbers on the axis. The file is 33k records but I could get a subset and paste in here if people need that to resolve the issue. the code par(oma=c(3,3.5,3,1)) par(mar=c(2, 4, 0, 0)) plot.new() gplot.hexbin(h, style = "colorscale", colramp = function(n)...
2010 Jul 23
0
overriding axis limits in hexbin plot?
[cc'd to package maintainer] This feels like a fairly straightforward question, so I'm surprised not to have found an answer so far (RSiteSearch, package help, vignette ...) It seems fairly hard (without some fairly serious hacking) to hard-code the axis limits in a hexbin plot from the hexbin package. Here's what I've figured out so far: * when you do the hexagonal binning in the first place, you can specify the x and y ranges (xbnds, ybnds). Fine ... but ... * the plot method for 'hexbin' objects (which doesn't have 'xlim' or '...
2012 Mar 25
1
multiple hexbin plots with varying greatest densities
Greetings: I have multiple hexbin plots with varying greatest densities. Right now, the data on each plot varies from 1-256 levels of density. The problem with that is that in Plot A the data are more scattered across a 2 x 2 grid whereas in Plot B the data are more concentrated in fewer cells. Hence, Plot A has a few very dense...
2014 Aug 08
2
Looking for new maintainer of orphans R2HTML SemiPar cghseg hexbin lgtdl monreg muhaz operators pamr
...due to outstanding QC problems, but have CRAN and BioC packages depending on them which would be broken by the archival (and hence need archiving alongside). Therefore we are looking for new maintainers taking over maintainership for one or more of the following packages: R2HTML SemiPar cghseg hexbin lgtdl monreg muhaz operators pamr Package maintainers whose packages depend on one of these may be natural candidates to become new maintainers. Hence this messages is addressed to all these maintainers via BCC and to R-devel. See <http://CRAN.R-project.org/package=R2HTML> <http...
2011 Jan 04
0
Error in M[, 1] : incorrect number of dimensions when trying to plot hexbin
Hello again, I am trying to plot out activity regions the user did on the screen via plotting a hexbin. I have 20 users whose information i want to plot out and it stops in the user 16 with the message Error in M[, 1] : incorrect number of dimensions. Any advice would be appreciated as i dont see why this error occurs on the data for the 16th user. All the other users get plotted out without a...
2009 Jan 03
1
hexbin plot
Hello, I would like some help to plot a vertical line on a scatterplot build with hexbin package. I just need to plot a vertical line on the graph to mark a threshold value on x axis. It would be better if the parameter of the plot line function respect the x axis scale. Thanks, Rodrigo [[alternative HTML version deleted]]
2009 Aug 08
0
Hexbin margins
Hi All - I'm having a layout problem with hexbin. The axis labels overlap with the axis tick labels. I've tried changing grid and trellis layout settings, as well as the more obvious mar settings without luck. Here's how to recreate the probem: require(hexbin) x <- abs(rnorm(500,500,500)) y <- jitter(x) bin <- hexbin(x,y,) sr...
2008 Sep 24
0
hexbin object to vector (shapefile)
Is it possible to convert an hexbin object like hexbin(rep(1:100,each=100),rep(1:100,100),xbins=10) and convert it to a vectorial (shp) format? Paulo ---------------------------------------------------------------------------- ------------------------------------------------- This electronic mail transmission including any attachmen...
2012 Dec 16
3
xlim/ylim problem
...data.matrix(blast_hits, rownames.force = NA) table_no_blast_hits<-read.table("noBlastHits.txt", header=T) no_blast_hits <- as.matrix(table_no_blast_hits) numerical2<-data.matrix(no_blast_hits, rownames.force = NA) All<-merge(numerical1, numerical2, all=TRUE) library(hexbin) bin<-hexbin(All, xbins=100) # The next line works pretty good, but there is one extrem artefact in the data, which let collaps all the data to a small area # plot(bin, main="All",colramp=function(n){heat.ob(n,beg=230,end=25)}) # So I tried to scale my yaxes, with the next...