search for: dsarkar

Displaying 13 results from an estimated 13 matches for "dsarkar".

Did you mean: sarkar
2007 Jun 01
2
HTML vignette browser
...ted to the recent discussion on vignettes. vignette() currently produces a listing of available vignettes, but these are not clickable. Since R has a browseURL() function, it seems natural to have a version that produces HTML with clickable links. Here's an attempt at that: source("http://dsarkar.fhcrc.org/R/vignette-browser.R") browseVignettes() browseVignettes(package = "grid") etc. Perhaps some variant of this could be added to R. Comments welcome. -Deepayan
2009 May 05
2
Lattice: use levelplot as panel for wireframe
Hi, I want to draw a figure similar to http://dsarkar.fhcrc.org/lattice/book/images/Figure_13_07_stdBW.png from http://lmdvr.r-forge.r-project.org/figures/figures.html (figure 13.7) . However instead of using a contour plot as a panel for the wireframe I want to use a levelplot. Can somebody help me with this? Thanks in advance for any help,...
2007 Dec 10
2
Viewport and grid.draw
Hi Deepayan and everyone, I need to add a common legend to a group of latice graphs, I have tried different ways using viewport and grid.draw without success. Here is what I have: plot.new() library(grid) library('IDPmisc') print(plot1, split=c(1,1,2,4), more=TRUE) print(plot4, split=c(2,1,2,4), more=TRUE) print(plot2, split=c(1,2,2,4), more=TRUE) print(plot5, split=c(2,2,2,4),
2007 Apr 13
1
help with Qt and event loops
...dow, but then control doesn't return to R, so nothing useful can be done. Right now, I have no idea how to proceed. Would someone with enough experience with event loops (preferably in both R and Qt) be willing to look into this? The source code and a brief write-up is available here: http://dsarkar.fhcrc.org/R/R-Qt.html Thanks, -Deepayan
2012 Feb 22
1
Lattice and horizontally stacked density plots
Hello, I am try to make a density plot where plots are stacked like the one found here: http://dsarkar.fhcrc.org/lattice/book/images/Figure_14_03_stdBW.png I am facing problems, however. Using the code example below, I'd like to generate a separate panel for each val of id2. Within each panel, I'd like to have individual histograms each on separate lines based on the value of id1. ?Note tha...
2009 Aug 18
1
three dimensions barchart
Dear R community, I have one problem with figures. I draw the Relative Distribution graph, it looks like barchart(X,Y plot), but I have ten(year) Relative Distribution grapgs, have any command am can combine ten barcharts(X,Y plot) to become a three dimensions barchart(X,Y,Z plot)? All help highly appreciated Best, Yichih One Relative Distribution graph:
2007 May 04
2
Qt device update
Hi, a few days back I had asked for help on a Qt device package. Thanks to hints from Duncan TL and Thomas Friedrichsmeier, I now have something more or less functional. For those interested, It can be downloaded from http://dsarkar.fhcrc.org/R/R-Qt.html I have a couple of related questions. First, dev.interactive(), used in example() and many demo()-s to decide if the current device is interactive, is currently implemented as: > dev.interactive function (orNone = FALSE) { iDevs <- c("X11", "GTK&quot...
2007 Dec 08
1
OT: 3d surfaces with transparency
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would be grateful if anyone had suggestions about software that could (1) create 3D surface plots, (2) handle transparency/alpha blending, (3) generate output in some vector graphics format that preserved the transparency. I could also live with a combination of two programs, one to generate the basic figure and another to modify the output
2009 Jun 19
1
Fancy Ticks in Plots
Dear All, I am pretty satisfied with R for my plotting, but there are a few subtleties which I cannot figure out. Consider figure 1 in the paper at the link below http://cxnets.googlepages.com/univ_citations.pdf Can I have the same kind of ticks in an R-generated figure (that is to say: ticks along the 4 axis, and in a log-log plot I'd like a larger tick for any power of 10). I did a bit
2012 May 15
1
Lattice: Add abline to Single Value qqmath() Plot
The data are not normally distributed when untransformed and I'm trying various transformations to see if any would be appropriate to use. The lattice book (fig. 3.10) shows a 2-sample Q-Q plot with an abline but the code for the figure does not include the line. I'd appreciate a pointer to a reference on how to add an abline to a one-sample qqmath() plot in lattice. Rich
2007 Mar 26
1
using alpha transparency for lines in levelplot
Hello, I'm having trouble with using the alpha channel for transparency with lines with lattice levelplots. If I use transparency via the alpha argument to rgb to overplot lines on levelplot the transparent colour affects all of the region colours in the plot. Can anyone explain why the difference in region colours? #### Warning: this code attempts to create PDF files in working directory
2008 May 14
1
lattice: left-aligned text in strips?
[adapted repost of question http://tolstoy.newcastle.edu.au/R/e4/help/08/03/6260.html] Dear R community, by default, text in the strips of a trellis plot is centered in the strip. Is there a way to have the text left-aligned? For example: library(lattice) test <- data.frame(x=rnorm(100), y=rnorm(100), a=rep(c("A: centered text","B: centered text"),50)) xyplot(y ~ x | a,
2008 Oct 02
2
Multiple hist(ograms) - One plot
Hello, I am trying to plot multiple histograms with the same scales, etc into one plot. The commands below produce a 3 page PDF with each histogram occupying the upper right quadrant. And use slightly different scales on the X and Y axes. > s21 <- dat[dat$sc_recov=="21",] > s21.ED <- subset(s21, select=(bbED)) > s31 <- all[all$sc_recov=="31",] > s31.ED