similar to: Ayuda boxplot ggplot2

Displaying 16 results from an estimated 16 matches similar to: "Ayuda boxplot ggplot2"

2009 Jun 18
3
how to sort
Hi. I have an object. I think it is a list. > str(corTFandPCA) num [1:922, 1:5] -0.0226 -0.0504 -0.0208 -0.0582 -0.0257 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:922] "abdomen.2" "abdomimal.3" "abdominal.4" "aberration.5" ... ..$ : chr [1:5] "PC1" "PC2" "PC3" "PC4" ... I want to order it
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots: library(ggplot2) data(diamonds) randind <- sample(nrow(diamonds),1000,replace=FALSE) dsmall <- diamonds[randind,] qplot(carat, data=dsmall, geom="histogram",binwidth=1) qplot(carat, data=dsmall, geom="histogram",binwidth=.1) qplot(carat, data=dsmall, geom="histogram",binwidth=.01) What are ways to put these three plots on a single
2010 Jul 09
1
print.trellis draw.in - plaintext (gmail mishap)
I am attempting to plot a trellis object on a grid. vplayout = viewport(layout.pos.row=x, layout.pos.col=y) grid.newpage() pushViewport(viewport(layout=grid.layout(2,2))) g1 = ggplot() ... g2 = ggplot() ... g3 = ggplot() ... p = xyplot() ... # works as expected print(g1, vp=vplayout(1,1)) print(g2, vp=vplayout(1,2)) print(g3, vp=vplayout(2,1)) # does not work print( p,
2008 Nov 24
3
multiple plots in R
Hi, I just try to draw multiple plots in one page using R, I used par command. For example I have 7 plots, but instead of arranging them in the default way plot1 plot2 plot3 plot4 plot5 plot6 plot7 I want them in this order plot1 plot2 plot3 plot4 plot5 plot6 plot7 Could somebody tell me how to do this, please? Thanks so many. Suyan
2013 Jan 21
1
Very slow in processing the equation in the scatter plot ggplot
Hello All, I have plotted a scatter plot in ggplot2 and added a regression line and a regression equation. But the processing is very very slow. One reason might be because I have so many data pairs. Is there any way to speed up this code ? I need to create a multiple layout as well. The code I have used is as follows: setwd("C:/Users/jzd0009/Documents/R software") mydata <-
2011 Sep 05
1
ggplot2-grid/viewport and PNG
Dear All, The following code save my graphs as pdf: pdf("j:/mix.pdf", width = 18, height = 16) grid.newpage() pushViewport(viewport(layout = grid.layout(3,1))) vplayout <- function(x, y) viewport(layout.pos.row = x, layout.pos.col = y) print(Aplot, vp = vplayout(1, 1)) print(Bplot, vp = vplayout(2, 1)) print(Cplot, vp = vplayout(3, 1)) dev.off() How can I save it in
2011 Dec 04
1
Polishing my geom_bar for publication
Dear list, I am new with ggplot2 and I have spend quiet some time putting together the following code to create the attached plot. However there's still a few things that I'm having trouble with! I would be grateful if someone can tell me how to fix (1) the colour of my bars into grey scales (2) removing the y-axis (species name) on the right figure to avoid duplication, and (3) fix the
2012 Aug 06
4
Overlay Histogram
Dear all, For two sets of random variables, say, x <- rnorm(1000, 10, 10) and y <- rnorm(1000. 3, 20). Is there any way to overlay the histograms (and density curves) of x and y on the plot of y vs. x? The histogram of x is on the x axis and that of y is on the y axis. The density curve here is to approximate the shape of the distribution and does not have to have area 1. Thank you
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
Hi all, I am stuck at ploting multiple graphs on one page. I don't why it doesn't work. All the 6 plots are either exactly the same, or they simply don't plot at all. I made sure that in each iteration the "datasub" and "factorsub" are different ... Could you please help me? Thanks a lot! I did my homework and followed the following advice:
2013 Jan 15
5
Duda gráficos - paper="a4"
Buenos días: A ver si alguien me puede iluminar, porque ya he sobrepasado los límites de mi paciencia y de mi imaginación con este asunto: Dado un gráfico creado con un plot (y funciones auxiliares como polygon, etc.) y una tabla creada debajo de ese gráfico (creada con addtable2plot), y dados unos text situados a modo de título encima del plot y otros encima de la tabla, ¿por qué cuando trato
2009 Apr 24
1
deleting rows provisionally
I have an object. I think it is a matrix, called 'answer2' str(answer2) int [1:1537, 1:2] 1 399 653 2 3 600 4 5 271 870 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:1537] "a4.1" "hirschsprung.399" "peritoneal.653" "abdomen.2" ... ..$ : chr [1:2] "row" "col" I want to delete rows that have the same entries.
2011 Jun 16
1
Placing Text on ggplot2 graphics vs. xyplot
Greetings to the help mailing list. I am in the process of translating a large graphic from xyplot to ggplot2 (13 columns by about rows). I have been unsuccessful trying to understand how to place the following text strings after three days of: * Perusing Wickham's "gg2plot" book; * Searching his site for gg2plot and qplot; * Reviewing the "man pages" for gg2plot; *
2010 Mar 24
1
lista
Los foros son útiles, pero la experiencia en listas y foros, prefiero las listas. Primer ventaja: ya está funcionando una lista buena sobre R, ¿cuánto tiempo demora alguien en responder sus preguntas?, ¿cuál es la calidad de la respuesta?. Un foro va en contra del trabajo de años, sin ese trabajo de algunas personas ni siquiera se podría exponer la idea de una web, foro, etc. Segunda ventaja: en
2005 Mar 26
1
Trouble with expression() in R-win 2.0.1
Hi. The following statement works fine in R-win 1.8.0, but yields a syntax error in R-win 2.0.1 (and possibly in other versions after 1.8.0): plot(c(1,2),main=expression(a==b==c)) I note that the following workaround executes successfully in both versions of R... plot(c(1,2),main=expression(a*"="*b*"="*c)) ...but I don't really understand
2002 Aug 05
3
Formatting POSIXt values in plot axis labels
Hello. I have an XYY series that I would like to graph with matplot() or some other single function that will do the trick. The X in question is a vector of POSIXt values obtained from strptime(). Is it possible to tell matplot() how to handle POSIXt x values? I have examined the examples at http://lark.cc.ukans.edu/~pauljohn/R/statsRus.html#5.22 , but would prefer not have to overlay the
2019 Sep 06
5
Leer fichero de SPSS...
Gracias. Es necesario instalar "forecast"?? Obtener Outlook para Android<https://aka.ms/ghei36> ________________________________ From: Carlos Ortega <cof en qualityexcellence.es> Sent: Friday, September 6, 2019 1:37:08 PM To: Christopher Estrada Ruiz <christopher_estrada_ruiz en hotmail.com> Cc: Juan Abasolo <juan.abasolo en ehu.eus>; R-help-es <r-help-es en