Displaying 20 results from an estimated 1000 matches similar to: "hist2d"
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
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
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 Mar 26
0
Reverse Y-axis on hist2d diagram
I created a 2d histogram using gplots' hist2d:
hist2d(x,y, freq=TRUE, nbins=50, col = c("white",heat.colors(256)))
rug(x, side=1)
rug(y, side=2)
box()
Now I would like to reverse the Y-axis, tried to use
ylim=rev(range(1:400)) but seems not to work. Any ideas?
Ralf
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
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
2013 Mar 25
1
[LLVMdev] Types in TableGen instruction selection patterns
Sebastian Pop wrote:
> same mechanism could be useful. It would be nice to be able to write this:
>
> def insn : Inst<(outs i32:$dst), (ins i32:$src1, i32:$src2),
> "some assembler",
> [(set $dst, (Op $src1, $src2))]>;
>From the PPC changes, I see that this is already possible under a slightly
different form:
def FSUBS :
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
2011 Nov 16
2
Contour on top of 2d histogram
Hi all,
I would like to plot one data set as a 2d histogram and another one as a contour. I can do it separately with the
"hist2d" and "contour" functions, but I wonder if there is a way to combine these two plots into a single one (the ranges of the two plots are the same).
Any suggestions?
Thanks,
Anna
[[alternative HTML version deleted]]
2004 Mar 30
1
Where: package licenses
Thanks Thomas and Marc that is what I was looking for.
-Jason
The DESCRIPTION file for a package lists the license; this is also given
in the CRAN entry for each package.
-thomas
Marc Schwartz <MSchwartz@MedAnalytics.com>
03/30/2004 09:02 AM
Please respond to MSchwartz
To: Jason.L.Higbee@stls.frb.org
cc: R-Help
2008 Jun 18
1
FRB/US
I would like to run the Federal Reserves econometric model on open source
software - they sent me the specifications for the model and what is
neccessary to run the model on TROLL (which is a commercially available
econometric software)
I am looking into the feasability of doing this and whether or not R is the
right tool - I would like to discuss the idea with someone who is familiar
with this
2013 Mar 08
3
2D filled.contour plot with 1D histograms by axes
Hi everyone,
I hope this question is beyond "read the manual". My task is simple, just
to plot the following, but the plot in the middle should be a
filled.contour plot:
http://gallery.r-enthusiasts.com/graph/Scatterplot_with_marginal_histograms_78
Background: I prefer filled.contour rather than hist2d. Because, I could
use kernel smooth, so the plot for discrete data won't be too
2004 May 21
2
RQuantlib ?Windows Binary?
R:
Is there a reason why there isn't a Windows Binary version of RQuantlib on
CRAN? Usually when there is no binary, I just source the source code, but
this one appears to have various calls and methods and things like that so
I'm hesitant to do so. I know there has been a big discussion on why
Rmetrics doesn't have source for unix/linux, but that isn't on CRAN.
Through
2007 Jan 12
1
wafer map drawing
Hello R-Users!
Does anyone know of a package to draw/analyze silicon wafer maps?
Here are some examples
http://www.java2s.com/Code/Java/Chart/JFreeChartWaferMapChartDemo.htm
http://dp.pdf.com/site/products/wafermap/binmap.html
I've google'd and searched CRAN with no luck.
It seems possible for R, given the hexbin and hist2d graphs I saw at the
Graph gallery.
2012 Mar 16
1
Change in behavior of update.views()?
I haven't seen this cryptic warning before:
> update.views('Robust')
Warning message:
In update.views("Robust") :
The following packages are not available: covRobust, distr, FRB, MASS, mblm, multinomRob, mvoutlier, quantreg, RandVar, rgam, RobAStBase, robfilter, RobLox, RobRex, robust, RobustAFT, robustbase, ROptEst, ROptRegTS, rrcov, sandwich, wle
>
2004 Jul 09
1
cor.test p-value ties
R:
I got a warning message when running the cor.test function using both
Spearman and Kendall rank correlations saying that the p-value may be
incorrect due to ties in the data. My data has 35 obs and one series has
6 pairs of ties. Does anyone know if this would likely have a great
effect on the p-values calculated.. The values look good; tau = -0.68
with p-value = 8e-9 and rho = =0.84
2004 Apr 22
1
Re: pausing a program
R:
I have a program that runs a For loop for days and I need to (if possible)
pause the program. Any ideas on how to do that? If I use stop, how
certain can I be that all the statements executed in the previous
iteration of the for loop?
Thanks,
Jason Higbee
Research Associate
Federal Reserve Bank of St. Louis
E: jason.l.higbee@stls.frb.org
[[alternative HTML version deleted]]
2007 Oct 22
1
Newbie help: Data in an arma fit
I'd like to fit an ARMA(1,1) model to some data (Federal Reserve Bank
interest rates) that looks like:
...
30JUN2006, 5.05
03JUL2006, 5.25
04JUL2006, N <---- here!
05JUL2006, 5.25
...
One problem is that holidays have that "N" for their data. As a test, I
tried fitting ARMA(1,1) with and without the holidays deleted. In other
words, I fit the above data
2009 Jun 10
2
DO NOT REPLY [Bug 6461] New: rsync occassionally issues the message "rsync error: unexplained error (code 255) at main.c(1506) [generator=3.0.4]"
https://bugzilla.samba.org/show_bug.cgi?id=6461
Summary: rsync occassionally issues the message "rsync error:
unexplained error (code 255) at main.c(1506)
[generator=3.0.4]"
Product: rsync
Version: 3.0.4
Platform: Sparc
OS/Version: Windows XP
Status: NEW
Severity: normal
2008 Oct 21
1
Replacement for Intel SDS2 Motherboard
Alle,
We have recently had one of our office servers go south. The hardware
was an Intel SDS2 motherboard (EATX), Dual Intel PIII 1.4GHz FC-PGA2-L2
512KB, 3GB (6x512MB) 168 pin DIMM, SDRAM 133MHz/PC-133-ECC with 1x3Ware
7006-2 and 2x3Ware 7506-4LP RAID controllers. The OS was RHEL3.
Apparently, according to the beep codes, there has been an FRB failure.
I've migrated most of the