Displaying 13 results from an estimated 13 matches for "qqplot2".
Did you mean:
qqplot
2011 Jun 26
1
changing graphs in qqplot2
...NT:YEAR,
> data= test))
.... r gives the values for the different intercepts and slopes...
a. I?ve tried adding an abline that specifies slope and intercept. But then
I would have to specify which of the facet wraps that the line belongs to,
as it turns up in both grids. Is that possible in qqplot2?
> p=ggplot(data = test, aes(x = YEAR, y = TOTAL, colour = TREATMENT)) +
> geom_point() + facet_wrap(~NITROGEN)
#this is the treatment A, but should only be displayed in the right graph
(low).
p + geom_abline(intercept = 81.476,slope=47.2667, colour = "red", size = 1)
http://r.78...
2011 Jul 10
2
grey colored lines and overwriting labels i qqplot2
...t find anything useful looking at the scale_manual pages. Any tips
on how to add another symbol?
5. ) Finally, how can I remove the grey background in the graph?
Thank you for all input!
--
View this message in context: http://r.789695.n4.nabble.com/grey-colored-lines-and-overwriting-labels-i-qqplot2-tp3657119p3657119.html
Sent from the R help mailing list archive at Nabble.com.
2010 Mar 23
2
Creating pdfs using qplot in qqplot2
I am trying to create plots within a for loop and output them to a pdf.
Here is a working example using plot:
gg <- data.frame(datadate=1:4, spread=5:8)
pdf()
for (i in 1:3) {
plot(gg$datadate, gg$spread, main=i)
}
dev.off()
I am trying to learn more about ggplot2 so I try a slight modification
and it doesn't work. Anyone
2008 May 12
1
Converting qqplot2 qplot() to grammar?
Hello all,
I've been using the following qplot command:
qplot(pixX,pixY, data=som, geom="tile", fill=rgb) +
scale_fill_identity() + opts(aspect.ratio = .75) + facet_grid(unitX ~ unitY)
Now I would like to convert it into the explicit ggplot grammar, so I
can remove the extras: axes, labels, background, borders, facet labels,
and extra white-space around the plot. (If anyone has
2018 Feb 16
0
Putting 733 discrete categories on Y-axis in qqplot2 as they are
...es))
> p+geom_point()
>
Cheers
Petr
From: greg holly [mailto:mak.hholly at gmail.com]
Sent: Friday, February 16, 2018 3:56 PM
To: PIKAL Petr <petr.pikal at precheza.cz>
Cc: r-help mailing list <r-help at r-project.org>
Subject: Re: [R] Putting 733 discrete categories on Y-axis in qqplot2 as they are
Hi Petr;
Thanks. I do save the result in pdf by using the following command.
ggsave("z7.pdf", p4, height = 95, width = 8, device=pdf, limitsize = F,dpi=300)
I can achieve the y axis with 733 levels. But I need get the plot WITHOUT reordering the names.
Regards,
Greg...
2009 Apr 21
3
ggplot2 - boxplot of variables / columns
...e boxplot of different columns/variables is a bit
tricky, because of (i think) qplot's generic Y conditional on X input
form. Se below.
# Some data:
a <- rnorm(100)
b <- rnorm(100,1,2)
c <- rnorm(100,2,0.5)
# normal boxplot of a,b,c
boxplot(a,b,c) # Looks good
library(ggplot2) # loads qqplot2
# Tries do replicate the simple boxplot
qplot(a,b,c, geom="boxplot") # Not good
# Workaround
d <- c(a,b,c)
e <- c(rep("a",100),rep("b",100),rep("c",100))
qplot(e,d,geom="boxplot") # Works - but there must be a simpler way?
What is the simple...
2018 Feb 16
0
Putting 733 discrete categories on Y-axis in qqplot2 as they are
Hi
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of greg holly
> Sent: Thursday, February 15, 2018 3:58 PM
> To: r-help mailing list <r-help at r-project.org>
> Subject: [R] Putting 733 discrete categories on Y-axis in qqplot2 as they are
>
> Hi all;
>
> I have 733 discrete categories that will go on y-axis in ggplot2. I used the
> following command to put the name of x-axis.
>
> scale_x_discrete (limits = c("SI", "HOMAIR",
> "AIR","HOMAB","SG",&qu...
2018 Feb 16
2
Putting 733 discrete categories on Y-axis in qqplot2 as they are
...riginal Message-----
> > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of greg
> holly
> > Sent: Thursday, February 15, 2018 3:58 PM
> > To: r-help mailing list <r-help at r-project.org>
> > Subject: [R] Putting 733 discrete categories on Y-axis in qqplot2 as
> they are
> >
> > Hi all;
> >
> > I have 733 discrete categories that will go on y-axis in ggplot2. I used
> the
> > following command to put the name of x-axis.
> >
> > scale_x_discrete (limits = c("SI", "HOMAIR",
> > &q...
2018 Feb 15
2
Putting 733 discrete categories on Y-axis in qqplot2 as they are
Hi all;
I have 733 discrete categories that will go on y-axis in ggplot2. I used
the following command to put the name of x-axis.
scale_x_discrete (limits = c("SI", "HOMAIR",
"AIR","HOMAB","SG","DI","FI","FG"))
Since there are only 8 categories on x it was easy to do. Is there any way
to do the same for 733 discrete
2018 Feb 19
0
Putting 733 discrete categories on Y-axis in qqplot2 as they are
...it stays in original order.
Cheers
Petr
From: greg holly [mailto:mak.hholly at gmail.com]
Sent: Friday, February 16, 2018 6:28 PM
To: PIKAL Petr <petr.pikal at precheza.cz>
Cc: r-help mailing list <r-help at r-project.org>
Subject: Re: [R] Putting 733 discrete categories on Y-axis in qqplot2 as they are
Hi Petr;
I would like to get a plot with names as they are in the original file. They are chemical names and I have 733 in the my file. For example, let me give to chemical names "2-hydroxybutyrate/2-hydroxyisobutyrate" and "palmitoyl-arachidonoyl-glycerol (16:0/20:4)...
2018 Feb 16
2
Putting 733 discrete categories on Y-axis in qqplot2 as they are
...t;
>
> *From:* greg holly [mailto:mak.hholly at gmail.com]
> *Sent:* Friday, February 16, 2018 3:56 PM
> *To:* PIKAL Petr <petr.pikal at precheza.cz>
> *Cc:* r-help mailing list <r-help at r-project.org>
> *Subject:* Re: [R] Putting 733 discrete categories on Y-axis in qqplot2
> as they are
>
>
>
> Hi Petr;
>
>
>
> Thanks. I do save the result in pdf by using the following command.
>
>
>
> ggsave("z7.pdf", p4, height = 95, width = 8, device=pdf, limitsize =
> F,dpi=300)
>
>
>
> I can achieve the y axis w...
2013 Feb 26
15
Ayuda con dev.copy2pdf - Ejemplo reproducible
...ra del plot pero anexa a éste. No sé si me explico...
¿Se os ocurre alguna forma?. He probado utilizando layout y tampoco lo consigo. Es como si el plot adquiriese el protagonismo total y absoluto para el dev.copy2pdf.
Gracias.
Eva
P.D.: Debo descartar alternativas tales como el uso del paquete qqplot2 (no lo podría compatibilizar con funciones que tengo que usar necesariamente dentro de la región del plot), y también descarto hacer pdf() y dev.off().
[[alternative HTML version deleted]]
2010 Mar 24
0
R-help ordinal regression
...label sizes/colors (Xie
> Chao)
> ? 46. Displaying equations from .Rd files (AC Del Re)
> ? 47. Operator overloading for custom classes
> (Chidambaram Annamalai)
> ? 48. Re: information module Wilks' lambda criterion
> (Charles C. Berry)
> ? 49. Creating pdfs using qplot in qqplot2 (Bos,
> Roger)
> ? 50. Re: Creating pdfs using qplot in qqplot2
> (stephen sefick)
> ? 51. Conditional replacement of NA depending on value
> in the
> ? ? ? previous column (Mark Na)
> ? 52. Re: Conditional replacement of NA depending on
> value in the
> ? ? ? previous co...