search for: rugs

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

Did you mean: regs
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.
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 ru...
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 Patched (2010-11-07 r53537) Platform: i686-pc-linux-gnu
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 <- rnorm(50) > f <-
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:00 2001 --- /tmp/cberry.rug.R Thu Nov 29
2008 May 05
2
axis and tick widths decoupled (especially in rugs!)
...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-%28especially-in-rugs%21%29-tp17068508p17068508.html Sent from the R help mailing list archive at Nabble.com.
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
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", "10/05/2007 00:14", "10/06/2007 00:14", "10/07/2007
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, WI 53266 Map ==> http://tinyurl.com/olprl
2011 Oct 19
0
How do I sync my outlook with my PDA using my msn email?
Question by Nick P: How do I sync my outlook with my PDA using my msn email? I use outlook on my computer but on my pda I dont know the pop3 info to have it sync with my pda. I have an HP 2700 series with Outlook 2002 on it. Could someone please help. I dont know the correct incoming and outgoing mail info or the domain. Best answer: Answer by ChimpanzeeIm afraid it is not possible to get msn
2012 Apr 11
1
Lattice densityplot with semitransparent filled regions
Hello, I'm doing some graphics for a paper and a need customize such with filled region above the density curve. My attempts I get something very near what I need, but I don'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,
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
2006 Jun 13
0
Milwaukee RUG Meeting July 12th at 5:30 - 7:30 pm
The Milwaukee Ruby User''s Group had a great kick-off meeting. Meeting Notes => http://tinyurl.com/eg78h You are invited to our July Meeting. Date: July 12, 2006 - Wednesday Time: 5:30 - 7:30 p.m. Location: SpiderLogic, Conference Room 1 on first floor 10000 West Innovation Dr. Milwaukee, WI 53266 Map ==> http://tinyurl.com/olprl Look for Medical College of
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
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
I recently "discovered" how useful the search engine & keywords portion of R help can be. I often remember that I could do 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
2005 Sep 22
4
Questions about R
Sep, 22nd,2005 Dear Authors, Thanks for reading this email. I'm a graduate student from China (PRC) and learning the R at present. Now I have some questions to ask you as I have met some strange problems during installing and running the R environment, which can not be found in the "R FAQ" document (or just I can not find them). It might be useful that I gived you the information
2001 Dec 22
2
gam plots
Dear R users, Using the library(mgcv) and running R under MacOSX, I have fitted a generalised additive model with binomial errors in order to check the linearity of two continuous variables ap2mm and diffdaysm in a glm: > mymodel.gam <- gam(diedhos~ s(ap2mm) + Dweekm + s(diffdaysm) + Dweekm:diffdaysm + ap2mm:Dweekm, binomial) I would like postscript gam plots for the two smoothed