Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
You can also use the comment() function to add comments to any kind of R object. Matthieu Dubois
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060302/37ede8f2/attachment.pl
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090507/5dc0bc22/attachment-0001.pl>
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060330/cb6dcf09/attachment.pl
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060411/1be5a05d/attachment.pl
Just a small typo. I forgot a ) in the polygon function. The code must be: polygon(x = c(qrv[1], drv$x[select], qrv[2]), y = c(0, drv$y[select], 0), col='blue')
Hi Megh, just set the legned position to 'none' using options, by putting + opts(legend.position="none") after your code. ggplot(diamonds, aes(carat, ..density..)) + geom_histogram(binwidth = 0.2, aes(fill = cut)) + facet_grid(. ~ cut) + opts(legend.position="none...
Hi, qseq is a variable from the data.frame mtcars, that has been used to create the initial plot p. library(ggplot2) p <- ggplot(mtcars, aes(wt, mpg)) p + geom_point(aes(size = qsec) Just replace qseq by your variable...
Simply use the col paramater, with a factor to index the colors. Example: # generate some data x <- rnom(100) y <- rnorm(x) z <- as.factor(rbinom(x,1,0.5)) # plot plot(x,y, col=c('red','blue')[z]) HTH...
Dear Steve, it will be difficult to help you without the code you are using to produce the plots. Could you please post a complete example with some (possibly generated) data and your code ? Regards, Matthieu Matthieu Dubois Post-doctoral...
You might also use ?curve # same example as Bill's par(mar = c(5,4,2,4)+0.1, yaxs = "r") Sample <- rgamma(1000,2.5,.8) hist(Sample, main = "", freq = FALSE, ylim = c(0,1)) curve(pgamma(x, 2...
Dear Julia, my way to do that is to attribute the t.test to an object, and then refer to its p.value with the function \Sexpr e.g. \documentclass{article} \usepackage{Sweave} \begin{document} <<echo=FALSE>>= x<-cbind(1...
Colin Wahl <biowahl <at> gmail.com> writes: > > Does anyone have any recommendations for producing dotplots with error > bars? Are there packages available for this? I searched far and wide > and cannot find a suitable option. Dear Colin, have a look...
Hi, you can use the curve() function for this. It is dedicated to plotting functions. Here is an example # turn your functions into r functions f <- function(x) 0.25 * x^2 + 6.47 * x -32.6 g <- function(x...
Hi, the blue point is not shown simply because it is printed outside the current plot area. If you want to use the base graphics, you have to manually define the xlim and ylim of the plot. Legend is added...
Hi, small modifications to your code will do the trick > Here everything is ok, except few points : > 1. I want to remove the name of y-axis, which is by default "density". Here > I put ylab(""), however although for x...
Hi Benoit, I'm not a specialist of ggplot2, but I will try to help. You may obtain more --interesting-- answers on the ggplot2 mailing list. This said, let's go. To solve your problem, I would suggest to 1...
Douglas M. Hultstrand <dmhultst <at> metstat.com> writes: > > Hello, > > I am using the lm to fit a linear model to data, I was wondering if > there is a way to display the equation on a plot using the extracted lm...
Can't find what you're looking for? Try searching with Google .