Displaying 20 results from an estimated 10000 matches similar to: "Reverse Y-axis on hist2d diagram"
2010 Jul 30
0
Flip axis on hist2d plot
I am plotting a heatmap using the hist2d function:
require("gplots")
x <- rnorm(2000)
y <- rnorm(2000)
hist2d(x, y, freq=TRUE, nbins=50, col = c("white",heat.colors(256)))
However, I would like to flip the vertical y axis so that the upper
left corner serves as the y-origin. How can I do that?
Ralf
2010 Jul 09
0
Mirror axis on hist2d plot - how?
The following code produces a heatmap based on normalized data. I
would like to mirror x and y axis for this plot. Any idea how to do
that?
require("gplots")
x <- rnorm(500)
y <- rnorm(500)
hist2d(x, y, freq=TRUE, nbins=50, col = c("white",heat.colors(256)))
Best,
Ralf
2006 Apr 05
1
Bin by bin histogram comparisons
Hello,
I have created two histograms with:
hist2d(gps2, nbins=200, col = c("white",heat.colors(16)))
Both of them have the same range and the same number of bins.
Now I would like to compare them bin by bin and plot the results.
Could someone please tell me how to do that. I searched the man pages and
the web, but couldn't find anything.
Thank you very much.
Phil
2006 Feb 06
2
panel.levelplot() for 2D histograms
Dear R-wizards,
I'm trying to plot "binned scatterplots", or 2d histograms, if you wish, for
a number of groups by using the lattice functionality
it works fine for one group at a time, and probably I could find a
work-around, but I prefer to do it the elegant way
here's an example of what I want, what I tried and where it goes wrong:
require(gregmisc)
require(lattice)
#toy
2009 Aug 03
1
hist2d
I'd like to use the hist2d function. What library contains it? Thanks!
Simon Firestone
Economist, Fair Lending Enforcement
Division of Consumer and Community Affairs
Federal Reserve Board
Washington, DC 20551
simon.b.firestone@frb.gov
(202) 785-6056
[[alternative HTML version deleted]]
2000 Mar 26
2
hist2d() function in R?
Dear R users,
I am just starting with R (v. 1.0.0) and I use Vehables & Ripley's
MASS book for examples.
In the intro session, there is an example of a 2D histogram on an 8x8
grid:
x <- rnorm(1000)
y <- rnorm(1000)
contour(hist2d(x,y,,,8,8))
R complains:
Error in contour(hist2d(x, y, , , 8, 8)) :
couldn't find function "hist2d"
I looked for hist2d() in the
2008 Jul 11
2
Problems with Package Installation.
I am having difficulty installing packages. For example, here I have tried to
install "gplots" but to no avail. I have tried multiple mirrors and
different packages (errbar) but after installation I seem to be unable to
access any of the commands or help pages. I am a little concerned about the
'lib' missing message but this has been present for previous successful
package
2007 Nov 02
0
gplots 2.5.0
Announcing gplots 2.5.0
---------------------------------
gplots provides additional plotting functions, including several
enhanced versions of base R functions.
Provided functions include:
balloonplot, bandplot, barplot2, boxplot.n, colorpanel, heatmap.2,
hist2d, lowess, ooplot, overplot, plot.lm2, plotCI, plotmeans,
qqnorm.aov, residplot, rich.color, sinkplot, smartlegend, space,
2007 Nov 02
0
gplots 2.5.0
Announcing gplots 2.5.0
---------------------------------
gplots provides additional plotting functions, including several
enhanced versions of base R functions.
Provided functions include:
balloonplot, bandplot, barplot2, boxplot.n, colorpanel, heatmap.2,
hist2d, lowess, ooplot, overplot, plot.lm2, plotCI, plotmeans,
qqnorm.aov, residplot, rich.color, sinkplot, smartlegend, space,
2008 Nov 25
1
row labels in heatmap.2(package gplots)
Dear R users,
I have a question regarding how to make row labels readable in a heat map.
I have successfully made a heat map using function "heatmap.2" in the package "gplots". However, as there are many rows in the heat map, I have difficulties labeling them (heatmap.2 provides a parameter "labRow" to label the row names, but as I have too many rows, I can not make
2011 Jun 09
0
How to shift the heat map
Hi, what i need is as the example i attached in the box plot. As you can
see, the boxplot have margins and it kind
of follow the coding I've added, but, it does not happen for the heat
map. Could you help me with this.. Thanks in advance.
the following is the coding i've used:
# Draw the heatmap
# heatmap.r
#
# Purpose: Create a heatmap
#
# Input: Data matrix as
2012 Mar 15
1
Bar graph with 2 Y axis
Dear R users,
I need to draw a barplot with 2 Y axis. I have 3 days each of wich having 2 groups (and error bar for each of them). The height of the 3rd day is too tall compared to others. That's why I have to use a second Y axis for that. I am using "barplot2" function of "gplots" library (to be able to add error bars as well). Data and codes currently I am using is
2012 Jan 28
1
gplot heatmap
Hi,
I am drawing a heat map using gplots of R package. The file (new4) is
having values 0 and 1 only.
library(gplots)
library(marray)
x=read.table("new4", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat,
col=colorRampPalette(c("black","red"))(256),
#col=greenred(75),
Rowv=TRUE,
Colv=TRUE,
distfun = dist,
hclustfun = hclust,
dendrogram = c("row"),
scale =
2010 May 20
0
Compressed values on y-axis in effects plot
Dear colleagues, the code below generated the two effects plots that I
have attached. I hope they are not stripped.
The original two models are as follows:
green_shift_mod=glm(green_shift ~ educ+party_id+educ:party_id,
family=binomial, data=x)
carbon_tax_mod=glm(carbon_tax ~ educ+party_id+educ:party_id,
family=binomial, data=x)
Then, I try to plot the effects of party_id by education for
2013 Oct 23
1
gplot
Hi all,
I couldn't install gplots package.
> install.packages("gplot")
Warning message:
package 'gplot' is not available (for R version 3.0.2)
i want to use heat maps.2 function.
can you please tell me how to install this package or are there any
alternatives.
Thanks in advance :)
[[alternative HTML version deleted]]
2010 Jan 31
2
help on Venn's diagram
Hello!
I have this problem: I want to create a Venn's diagram with three lists of genes'names. The first is all the genome, the second a subset of it comprising all mitochondrial genes, and the third including all genes that correlate with a given gene.
This is what I do:
> library(gplots)
> A<-read.delim("F:/.../mito genes just names.txt")
>
2006 Nov 07
0
evaluation of 2 matrices: categorical comparison
Greetings,
I have two matrices, read in from raster data stored in GRASS. Each matrix
represents the output of a aggregation process on categorical data (Nomial /
Ordinal) - derived from imagery.
I have compared these two data by the following methods:
***** pretending the data is continuous approaches (flawed i am sure...)
1. computing a difference map by computing the absolute difference
2012 Sep 09
3
how to save a heatmap.2 in png /jpeg /tiff
Hey, I am still working on my heat map (for those who are read my previous post about row.names)…
Now, I would like to save my heat map.2 in .png or .tiff in order being able to work on the picture in photoshop, but it doesn't work.
I'am using (as I have found on some forum)
> png("heatmap.2.png) # and it just doesn't work. when I try doing it with::
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANGES IN GDATA 2.1.2
2005 Dec 13
0
Updated version of gdata, gtools, gplots and gmodels
Hello,
We have submitted the updated version of gdata, gmodels, gplots and gtools to CRAN.
Summary of the changes is attached at the end.
Best,
Nitin
______________________
Nitin Jain, PhD
<nitin.jain at pfizer.com>
Non Clinical Statistics
Pfizer, Inc. (Groton, CT)
Bldg: 260, # 1451
Ph: (860) 686-2526 (Office)
Fax: (860) 686-6170
Brief description of changes:
CHANGES IN GDATA 2.1.2