similar to: storing ggplot objects as components of a vector

Displaying 20 results from an estimated 2000 matches similar to: "storing ggplot objects as components of a vector"

2013 Apr 29
3
rbinding some elements from a list and obtain another list
Hi everybody, I have a list, where every element of this list is a data frame. An example: Mylist<-list(A=data.frame, B=data.frame, C=data.frame, D=data.frame) I want to rbind some elements of this list. As an example: Output<-list(AB=data.frame, CD=data.frame) Where AB=rbind(A,B) CD=rbind(C,D) I’ve tried: f<-function(x){ for (i in
2010 Oct 28
1
Unexpected behabiour of min, tapply and POSIXct/POSIXlt classes?
Hello, I found rather surprising the behaviour of POSIXct and POSIXlt classes when combined with min and tapply. The details can be deduced from the script below: ############# Start of the script #################### before <- Sys.time() Sys.sleep( 1 ) now1 <- now2 <- Sys.time() my.times <- c( before, now1, now2 ) class( my.times ) ## [1] "POSIXct"
2008 Feb 12
3
problems plotting geom_line on ggplot2
Se ha borrado un texto insertado con un juego de caracteres sin especificar... Nombre: no disponible Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080212/16ba8b97/attachment.pl
2008 Feb 20
1
overdrawing a plot
Se ha borrado un texto insertado con un juego de caracteres sin especificar... Nombre: no disponible Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080220/6f4fc6bc/attachment.pl
2011 May 19
2
Error en Rattle
Saludos colegas. Estoy utilizando el entorno rattle para probar algunas tareas de minería de datos sobre un dataset. Sucede que desde hace unos días cuando intento utilizar rattle me lanza el siguiente error: *> rattle() Error en ret[i, ] <- c(pkgs[i], lib, desc) : número de items para para sustituir no es un múltiplo de la longitud del reemplazo* Llevo algún tiempo intentando
2014 Jan 20
3
Creación de un bucle con test Kruskal Wallis
Hola. Llevo poco tiempo con R y estoy atascado en un problemilla, a ver si podéis ayudarme. Estoy trabajando con una base de datos sobre personalidad en diferentes especies de aves. Esta base tiene datos de más de 7000 individuos y me gustaría crear un bucle mediante el cual realizar un test de Kruskal Wallis por cada especie (quiero ver si los comportamientos son consistentes dentro de cada
2010 Sep 10
1
Problem importing square character
Dear, When I try to to execute the following command, R don't read all lines (reads only 57658 lines when the file has 814125 lines): dados2<-read.table("C:\\Documents and Settings\\mgoncalves\\Desktop\\Tbua
2008 Jan 21
1
hexadecimal to binary conversion
Se ha borrado un texto insertado con un juego de caracteres sin especificar... Nombre: no disponible Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080121/7b562f32/attachment.pl
2007 Apr 20
2
R in cron job: X problems
I'd like to use an R CMD BATCH script as part of a chron job that is set up to run every hour. The trouble is that the script creates a graphical output in a file via png(), and apparently this in turn works through X. When cron invokes the job, no X server is available -- I suppose that the DISPLAY variable is not set -- and so R exits with an error message in the output file. (If I run the
2016 Feb 21
3
Streaming MOVE commands
Hello Timo, Timo Sirainen <tss at iki.fi> writes: > Thanks, looks like this was broken with Maildir and mbox formats. It > also caused expunges in some other situations to be lost. Fixed: > > https://github.com/dovecot/core/commit/950a6e61d6c2dac961ce031bdd8b2895bc32b827 Thanks a lot for the fix, testing it now! Is this patch suitable of being backported to 2.2.13? (Debian
2007 Feb 11
8
Is ESFQ working?
Hi there, i am trying to shape a network for a college dorms... INTERNET---- ETH0--------Nat Box-------ETH1--------LAN I have set up classes of traffic (HTTP, FTP, MAIL, IM, OTHER) and i have assigned a rate for everyone with a HTB qdisc. The limit based in traffic is working flawlessly. However, under every HTB class i have set up a ESFQ queue discipline with hash value set to
2010 Jan 28
2
Conditional editing of rows in a data frame
Dear R users, I have a dataframe (main.table) with ~30,000 rows and 6 columns, of which here are a few rows: id chr window gene xp.norm xp.top 129 1_32 1 32 TAS1R1 1.28882115 FALSE 130 1_32 1 32 ZBTB48 1.28882115 FALSE 131 1_32 1 32 KLHL21 1.28882115 FALSE 132 1_32 1 32 PHF13 1.28882115 FALSE 133 1_33 1
2009 Mar 30
2
Sliding window over irregular intervals
Dear all, I have some very big data files that look something like this: id chr pos ihh1 ihh2 xpehh rs5748748 22 15795572 0.0230222 0.0268394 -0.153413 rs5748755 22 15806401 0.0186084 0.0268672 -0.367296 rs2385785 22 15807037 0.0198204 0.0186616 0.0602451 rs1981707 22 15809384 0.0299685 0.0176768 0.527892 rs1981708 22 15809434 0.0305465 0.0187227 0.489512 rs11914222 22 15810040 0.0307183
2013 Apr 12
1
A strange behaviour in the graphical function "curve"
I thought the curve function was a very flexible way to draw functions. So I could plot funtions like the following: # I created a function to produce functions, for instance: fp <- function(m,b) function(x) sin(x) + m*x + b # So I can produce a function like this ff <- fp(-0.08, 0.2) ff(1.5) # Is the same as executing sin(1.5) - 0.08*1.5 + 0.2 # Let's plot this
2015 Mar 02
3
PERMUTACIONES EN R
Buena tarde amigos, En días pasados hice algunas consultas y ya pude salir de las dudas que tenia en ese momento, ahora requiero de su colaboración con lo siguiente: Tengo un vector dicotomico (Binario) con la siguiente información que me surgio de algunos procesos anteriores: > MuestraS [1] 1 1 1 1 0 1 1 0 1 1 Ahora necesito hallar todas las posibles combinaciones que se puedan hacer con
2011 Apr 03
1
another question on shapefiles and geom_point in ggplot2
Manuel: I changed your variable names from x to 'long' and y to 'lat' on the riqueza_out.csv file. The code below should do what you want. Also, since the legend title is kind of long, I broke it down into three lines so you can see more plot area. I am cc'ing the other groups so more people use it if needed. library(rgdal) library(ggplot2) library(sp) library(maptools)
2023 Dec 04
2
Transformar una base de datos a matriz
Buenos d?as. Tengo una duda: Trabajo con comundiades de especies, y mis datos se ordenan de tal forma que, cada especie corresponde a una fila de la base de datos, por lo que cada muestra tiene un n?mero de filas correspondiente al n?mero de especies. Mi objetivo es transformar esa base de datos a un formato de matriz donde, cada muestra sea una fila ?nica y las especies sean las columnas, con
2015 Mar 11
2
Pregunta sobre Simplificación de Poligonales con R
Gracias, Jorge le echo un vistazo al link y te digo algo Un saludo Date: Wed, 11 Mar 2015 16:22:11 +0100 Subject: Re: [R-es] Pregunta sobre Simplificación de Poligonales con R From: jayusor en gmail.com To: fjroar en hotmail.com CC: r-help-es en r-project.org Hola, Esto lo hice algún tiempo para no hacer tan pesado los dibujos, si buscar por "R simplify shp" encuentras cosas, por
2010 Feb 08
1
About scales in graphics
Hi, I'm building two graphics just changing the scale to show the graphic illusion. The first graph would be 'correct'. atend = c(410,430,450,408,408,405) names(atend) = c('Janeiro', 'Fevereiro', 'Mar?o', 'Abril', 'Maio', 'Junho') barplot(atend, las=1, xlab='Meses', ylab='N?mero de atendimentos',
2013 Jul 16
1
Sqldf y codificación \u00b0 para el grado
Hola, Carlos: En este caso no puedo permitirme esa solución. Lo único que se me ocurre es sustituir el º por º después de usar sqldf, pero quería saber si hay alguna otra solución. Otra pregunta, ¿cuál es el modo más eficiente de sustituir subcadenas a lo largo de un data.frame?. Gracias. Eva ________________________________ De: Carlos Ortega <cof@qualityexcellence.es> CC: