search for: rug

Displaying 20 results from an estimated 432 matches for "rug".

Did you mean: reg
2007 Jul 17
2
multiple rugs on a single plot
Hi I could only find some discussion on this wrt lattice graphics (which I'm not using). Apologies if I'm missing something obvious. I'd like to produce 3 rug plots under a kernel density plot for a population. The population is subdivided into 3 subpopulations, which I'd like the rug plots to highlight. Naturally, when I do 3 rug plots, they all plot over each other. I'd like 3 parallel rug plots along the x-axis. But how. Thanks in advance,...
2009 Mar 30
1
How do I add a rug to a 3d 'persp' plot?
Hi all, I have a (hopefully quick) question. I've got a fascinating set of fitted surfaces in three dimensions corresponding to local linear multiple regressions. I'd like to add rugs to the X and Y axes (corresponding to my independent variables) in order to get a sense for how many data points I'm working with to graph various portions of the surfaces. The trouble is, I can't just plot the rugs with rug() because it's a 3-d plot. Similarly, I can't just pass r...
2010 Dec 15
1
Problems drawing a colored 'rug' in the Lattice 'densityplot'
Hi All, I'm trying to add a 'rug' representation of my data to a plot created with densityplot(). While I can do this in the simple case, I can't do it properly when I include the "groups" argument. I have an example below. I am running a reasonably new version of R. print(sessionInfo()) R version 2.12.0 Patc...
2002 Apr 08
2
user coordinates and rug plots in lattice graphics
Dear R list members, I'd like to produce rug plots at the bottom of panels in a trellis display (using the lattice package), but par("usr") doesn't return user coordinates for panels, and consequently rug fails, as the following example (suggested to me by Georges Monette) illustrates: > x <- rnorm(50) > y...
2007 Sep 04
1
rug() colors
Hello, I have a simple question on rug(). Currently there is only one color possible for the rug. Is it possible to plot a the rug with different colors, for each rug item ? Thx. Bjoern
2001 Nov 29
1
rug(x) clip warning incorrect if par("xlog")==TRUE (PR#1188)
To wit: > plot(1:2,1:2,log="x") > rug(1:2) # should not warn Warning message: some values will be clipped in: rug(1:2) > plot(1:2,1:2,log="x") > rug(c(0,.1,.2)) # should warn, but does not > I believe this fixes the problem: % diff -c /tmp/orig.rug.R /tmp/cberry.rug.R *** /tmp/orig.rug.R Thu Nov 29 12:59:...
2008 May 05
2
axis and tick widths decoupled (especially in rugs!)
...pendently? For example I might want to create major and minor ticks, which I now know how to do by superimposing two axes with different at settings, but what if I also wanted the major ticks to be thicker? or a different colour? You might find this nitpicking, but I am particularly concerned about rug(), which passes to axis(), in that I cannot get a decent thick-lined rug, without the horizontal line also becoming equally thick. Is there any way to do this without having to resort to segments? Tnx! -- View this message in context: http://www.nabble.com/axis-and-tick-widths-decoupled-%28espec...
2004 Jun 04
1
hist, lines, rug
Hello, I'm trying to plot a historgram with a density plot superimposed: hist(x, seq(-1, 1, by = 0.1), prob = T, col = "blue") lines(density(x, bw = 0.1)) rug(x) I don't want to add rug(x) but the histogram will not be plotted unless rug(x) is there. It does not work if the "hist" line alone is present. Can you help? Thanks, Kim [[alternative HTML version deleted]]
2010 Jan 13
3
Ask for histogram
Hi, I use a vector of data to draw the histogram, but it is different from the graph by SAS. Can you check it for me please? b is a column vector of 4332 hist(b,probability=T,breaks=30,col='lightblue',ylim=c(0,1)) rug(b) When I used rug, I find the records are smaller than 4332. I don't know where I did wrong. Thanks. -- Yi Du [[alternative HTML version deleted]]
2007 Oct 27
1
Unwanted axis labels when rug() has POSIXlt argument (PR#10380)
rug() may add integer axis labels when called with a POSIXlt object as argument. dtimes <- c("09/29/2007 12:54", "09/30/2007 00:14", "10/01/2007 00:14", "10/02/2007 00:14", "10/03/2007 00:14", "10/04/2007 00:14",...
2006 Aug 07
0
mkerb.org - Milwaukee RUG Meeting this Wednesday August 9 at 5:30 - 7:30
Did you know that Milwaukee has a RUG? The Milwaukee RUG (http://www.mkerb.org) - promoting Ruby and Rails in the Greater Milwaukee Area. Come and join us on our next adventure. Date: August 9, 2006 Time: 5:30 - 7:30 p.m. Location: SpiderLogic, Conference Room 1 on first floor 10000 West Innovation Dr. Milwaukee...
2011 Oct 19
0
How do I sync my outlook with my PDA using my msn email?
...ithout installing additional software. You will need to use a push email service. Have a look at some of the results of the folling search. You may also want to search the forums at MoDaCo (http://www.modaco.com/ ) Give your answer to this question below! Article by NephSystem Technologies Keywords:Rugged PDA, RFID, 134.2Khz, low cost, 134Khz, 125KHz, Barcode, 13.56MHz, ISO14443A, Mifare, Handheld, low cost, High Frequency RFID Reader/Writer, Contactless Reader/Writer, RFID Low Frequency Readers, RFID High Frequency Readers, RFID Ultra High Frequency Reader, RFID Low Frequency Tags, RFID High Fre...
2012 Apr 11
1
Lattice densityplot with semitransparent filled regions
...39;t solve the problem of use semitransparent filled. Below a minimal reproducible code. Someone has any idea? require(lattice) # toy data... dt <- expand.grid(A=1:2, B=1:3, y=1:50) dt$y <- rnorm(nrow(dt), dt$B, dt$A) # regular plot... densityplot(~y|B, groups=A, data=dt, plot.points="rug") # the actual panel... panel.densityplot # so, I edit this... my.panel.densityplot <- function (x, darg = list(n = 30), plot.points = "jitter", ref = FALSE, groups = NULL, weights = NULL, jitter.amount = 0.01 * diff(current.panel.limits()$ylim), type = "p", .....
2008 Jun 08
2
Adding a Rotated Density Plot to an Existing Plot
Hi Consider the following graph: x <- rnorm(1000) x <- x + exp(-x/2) layout(matrix(rep(c(1,1,2), 2), 2, 3, byrow=TRUE)) boxplot(x) rug(jitter(x), side=2) plot(density(x)) What I would really like to do is to have the density plot rotated by 90 degrees so that I can see it line up with the rug plot on the side axis. I cant seem to do this. I have seen references to the grid package and tried some examples, but I cant seem to...
2006 Jun 13
0
Milwaukee RUG Meeting July 12th at 5:30 - 7:30 pm
...d: - Ruby Intro - Metaprogramming? =============================================================== == Don''t forget to email George with your presentation topic =============================================================== Meeting Notes (060506) => http://tinyurl.com/eg78h Milwaukee RUG mail list => http://tinyurl.com/pkt3h The Milwaukee RUG would like to thank SpiderLogic for providing space for the meeting. -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets...
2006 Oct 19
0
Rug-like density plots on margins of figure
Hi everyone, I'm trying to plot density curves on the axes of a plot, in a similar way to the 'rug' function. I have had a look at a few approaches and libraries, including: * layout http://addictedtor.free.fr/graphiques/RGraphGallery.php? graph=78 * fancygraph http://addictedtor.free.fr/graphiques/RGraphGallery.php? graph=81 * ggplot - gave up since it needs R 2.3.0 and today I need...
2011 Oct 04
1
Rug plot curve reversal
Dear R-help Can anyone tell me why my curve appears the wrong way round on a rug plot? I am using the same code as on pg 596 of the Crawley R-book. mod<-glm(mort~logBd,binomial) par(mfrow=c(2,2)) xv<-seq(0,8,0.01) yv<-predict(mod,list(logBd=xv),type="response") plot(logBd,mort) lines(xv,yv) I've tried swapping xv and yv around but no luck. Thanks, Pete...
2002 Feb 28
2
R help search engine
...certain things in R but do not quite remember the right commands. The keywords by topic section of the search engine is particularly useful for that. It incorporates information from installed packages which makes it even more useful. I just ran into the following problem. I was looking at the rug command - the one that adds a rug to a plot. Then, out of curiosity, I went to the keywords by topic section of help and tried to locate rug there. I expected it to be in the graphics/aplot but instead I found it in hplot. I know this sounds like nitpicking, but the description of the rug is ent...
2005 Sep 22
4
Questions about R
...ed by missing functionality", until I met with the following problem. The second bug occured when I was doing some ordinary statistical work. Suppose v1 is a numerical vector of length(v1)==20; further suppose > v1 <- c(1:20). When I type the command > lines(density(v1)) or > rug(v1) simillar errors take place, and it prompts the following messages below: ( some key words of the promption are translated into English by myself) For the first command, it warns: "error occurs at: plot.xy(xy.coords(x, y), type = type, col = col, lty = lty, ...) : 'plot.new'...
2001 Dec 22
2
gam plots
...> plot(mymodel.gam, pages=2, se=T) Press return for next page.... I wondered if anyone knows of a way to get each plot on a separate page, i.e. two postscript files? I also noticed that the plot gives tick marks for the values of the variable along the horizontal axis, but I would like a rug of *all* the values (Splus5 produces a rug using jittering to show the density of the observations, but the version of R that I have doesn't do this, as far as I can tell). I would be very grateful if anyone has any suggestions that would help sort this out. Many thanks, Patty -- -------...