search for: xblocks

Displaying 8 results from an estimated 8 matches for "xblocks".

Did you mean: blocks
2012 Jan 26
5
[LLVMdev] dense maps
Reading the LLVM Programmer's Manual, the description of DenseSet mentions: *Note that DenseSet has the same requirements for the value type that DenseMap <http://llvm.org/docs/ProgrammersManual.html#dss_densemap> has.* But when I read about DenseMap, I don't really see any requirements for the values, just a warning about space. On the other hand, the *keys* have special
2011 Nov 09
1
Are there equivalents to xblocks or rect that can be used with plot.xts?
I would like to add vertical shaded blocks in plot.xts graphs (like recession periods in FRED graphs) The reason I use plot.xts instead of plot.zoo is that I like the fact that the grid is automatically aligned with major ticks in plot.xts. xblocks() and rect() do not seem to work with plot.xts (only with plot.zoo). Are there any alternative methods that work with plot.xts? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/Are-there-equivalents-to-xblocks-or-rect-that-can-be-used-with-plot-xts-tp4019191p4019191.html Se...
2012 Jan 26
0
[LLVMdev] dense maps
My problem was that the constructor for DenseMap has an undocumented constraint. explicit DenseMap(unsigned NumInitBuckets = 0) { init(NumInitBuckets); } if given an explicit argument, requires that the argument be a power of 2. It's checked by an assert in init(), but for some reason my code didn't trip the assertion. Is there a special way I must make to enable asserts? Thanks,
2010 Apr 14
4
how to draw multiple vertical bands
hi R gurus I saw some graphs with vertical band like this one: http://pragcap.com/wp-content/uploads/2010/04/GS.png how to draw the blue band in R, can't find any clue to do this,any ideas? thanks in advance [[alternative HTML version deleted]]
2012 Jan 26
1
lattice panels with grouped extra data as text?
...;Dry","Wet","Dry","Dry"), Area=c(sample(100, 12)) ) require(lattice) require(latticeExtra) bwplot(Treatment ~ Variant | Szenario, data=foo, panel = function(...) { # Marking the extra column yellow panel.xblocks(c(4.5,5.0), c(rgb(255,255,0, alpha=127, max=255), rgb(255,255,0, alpha=127, max=255))) # Put in the extra values (instead of a string) panel.text(5, min(foo$Treatment), "sum of foo$area per panel", srt=90, adj=c(0,0.5)...
2012 Mar 02
4
times series trellis plot
Dear List, I am struggling with the trellis graphic. A similar problem was mentioned here: http://r.789695.n4.nabble.com/R-How-can-you-get-N-replicates-of-a-multi-screen-multivariate-time-series-plot-td811850.html I do have 2 time series data sets. The 2 time series differ in some orders of magnitude. I managed to plot them into 1 graph, but, since the data is that different, on of the data
2010 Aug 15
2
Adding colored background area to a time series plot
Hi, I am trying to add a rectangular colored background area to a plot of a time series of relative price changes. I believe that what I'm trying to do is very similar to the question and example given here: http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg73948.html http://www.mayin.org/ajayshah/KB/R/html/g5.html My problem/difference is that my time series looks like so: >
2012 Jan 18
4
R-Help
I am trying to create a frequency distribution and I am a bit confused. Here are the commands I have entered: > data <- read.csv(file="40609_sortedfinal.csv",head=TRUE,sep=",") > NumberOfActionsByStatus = data$STATUS > NumberOfActionsByUser = data$ETS_LOGIN > NumberOfBidOffer = data$BID_OFFER > NumberOfActionsByUser.freq = table(NumberOfActionsByUser) >