similar to: ggplot2

Displaying 20 results from an estimated 1000 matches similar to: "ggplot2"

2019 Sep 20
2
ggplot con gradientes complejos
Gracias Emilio. Si, son asimétricos porque se mueven en rangos distintos. De hecho, miden cosas distintas, pero una muestra no puede ser positiva y negativa a la vez. Me planteo multiplicar las positivas por 2 y al editar el mapa corregirlo para que indique los valores reales. Eso funcionaría, pero son muchos mapas y quizás haya una función en ggplot que evite el problema directamente. Manuel El
2019 Sep 20
2
ggplot con gradientes complejos
No sé muy bien, Carlos, como hacerlo, pero no parece más sencillo que lo de multiplicar por 2 los positivos y después editar el mapa. De lo que decías, Emilio, de cambiar el color del punto central creo que haría más confusa la interpretación. El vie., 20 sept. 2019 a las 10:33, Carlos Ortega (<cof en qualityexcellence.es>) escribió: > Hola, > > Una alternativa que suele
2018 Nov 14
2
Los puntos no tapen el mapa hecho ggplot
Buenos días. Hago mis mapas con el código que os copio abajo, pero me gustaría que me dibujase las líneas del mapa después de poner los puntos para que se vean. Puedo hacer los puntos más pequeños, pero entonces quedan separados y yo quiero que rellenen el mapa. Gracias, como siempre, Manuel print(ggplot(legend=FALSE)+geom_path(data=map_data('world'), aes(x=long,
2020 Jul 28
2
Superponer mapas en ggplot
Buenos días. Tengo dos mapas que hago con ggplot (abajo) y necesito superponer el 2º al 1º. En el 1º se representa la variable PA, binomial (0, 1), en gris, y en el 2º la variable ExtTG7085, que es numérica y va de 0 a 200. La 2ª es un gradiente en rojo. Lo ideal sería que donde coinciden el rojo de la 2ª se viera más oscuro, pero supongo que eso no es fácil. Podría también ser en otro color, pero
2007 Jul 16
1
Problem to sort factor
Hello, I'm having a problem renaming and sorting the underlying factor of a ggplot2 based plot. Here's my code: ---8<---------- > delta <- ggplot(subset(data, Model==c("dyn", "dl4", "dl3")), aes(x=Problemsize, y=Fitness)) + geom_smooth(size=1, color="black", fill=alpha("blue", 0.2))+ geom_point(size=0.5,
2019 Sep 19
2
ggplot con gradientes complejos
Muy buenas. Quiero hacer un mapa que me pinte en azul los valores negativos y en rojo los positivos. Los negativos llegan hasta -400 y los positivos hasta 200. Si pongo limits=c(-200, 200), me colorea bien los positivos (rojo), pero los negativos por debajo de -200 me los pone gris. Si pongo limits=c(-400, 200), me colorea bien los negativos (azul), pero los positivos apenas se ven. Necesito que
2013 Feb 25
1
colors to pie chart.
hello, all. i am trying something new and am stuck. i typically go with whatever colors the pie function pops out, but i would like to customize it. please find below a sample dataset. ##TVs per household. TVs <- factor(c(rep("0", 1), rep("1", 16), rep("2", 14), rep("3", 12), rep("4", 3), rep("5", 2), rep("6", 2)))
2010 Mar 16
1
Courier to dovecot migrations
Dear All, I saw some topics discussed in forums about this, but none with my problems :( Currently we have a mailserver postfix with courier-imap-4.1.1, and courier-pop3 and courier-authlib. Our Maildir's are written in the users home directory (ex: ~/Maildir) I'm now migrating the mailserver to other cluster and installing with dovecot. We're also moving the Maildir's to
2017 Dec 20
2
outlining (highlighting) pixels in ggplot2
Using the small reproducible example below, I'd like to know if one can somehow use the matrix "sig" (defined below) to add a black outline (with lwd=2) to all pixels with a corresponding value of 1 in the matrix 'sig'? So for example, in the ggplot2 plot below, the pixel located at [1,3] would be outlined by a black square since the value at sig[1,3] == 1. This is my first
2012 Aug 24
1
help with a special variant of balloonplot
Hi, I am interested in implementing a special variant of balloonplot.  Let me explain with an example dataset from the reference manual : library(gplots) data(Titanic) dframe<-as.data.frame(Titanic) survived<-dframe[dframe$Survived=="Yes",] attach(survived) balloonplot(x=Class,y=list(Age,Sex),z=Freq,sort=TRUE,show.zeros=TRUE,cum.margins=FALSE,             main="BalloonPlot :
2019 Apr 29
2
Manejo de colores CMY(K?) según valores de variables.
Buenas noches; Traigo una pregunta que supongo que alguno ya la tendrá resuelta, porque se me hace difícil entender algo que presupongo fácil. Quiero, según los valores de 3 o 4 variables numéricas, convenientemente escaladas, conseguir gamas de colores. Supongamos las variables numéricas: X, Y, Z; a cada variable le correspondería un color; pongamos que X = C (cian), Y = M (magenta) y Z = Y
2011 Aug 27
2
Am having trouble calling a function
In my main R program, I have source("retaanalysis/Functions/doAirport.R") .... stuff to read data and calculate ads sapply(ads, function(x) {doAirport(x, base)} ) And doAirport has # analyze the flights for a given airport doAirport = function(df, base) { # Get rid of unused runway factor levels (from other airports) df$lrw <- drop.levels(df$lrw) # In gdata package #
2012 Sep 26
1
Interaction scatterplots in ggplot with multiple regression lines
I'm trying to treat a continuous variable as discrete for plotting multiple regression lines in a scatterplot as a function of the level on the moderating variable. In the example below, there is only one regression line plotted to the whole data. I would like a separate regression line for each discrete level of the moderator. The moderator is continuous, so I'd like to treat it as
2007 Jun 19
1
plotting order of lines in xyplot panels while using conditioning variable and groups
I am using the following code: library(lattice) data<-read.csv("data.csv") attach(data) fig<-xyplot(S_t~month|event, key = list(text=list(lab=c("Time to first CV event - Data", "Survival post first CV event - Model", "Survival post first MIA/CA event - Data",
2012 Sep 28
2
changing outlier shapes of boxplots using lattice
Hello This is Elaine. I am using package lattice to generate boxplots. Using Richard's code, the display was almost perfect except the outlier shape. Based on the following code, the outliers are vertical lines. However, I want the outliers to be empty circles. Please kindly help how to modify the code to change the outlier shapes. Thank you. code package (lattice) dataN <-
2015 Jun 13
4
Asterisk and Deutsche Telekom
Hi list! I think there are many german users in this ML, that use Asterisk with the new line of Deutsche Telekom (Magenta Zuhause). My ISDN will be converted in Juli (Kaboom-day at Juli, the 3rd...) and right now I can just hope, that I configured my Asterisk well to work with Deutsche Telekom, but I cannot be sure, since I can't test it... So my question: can someone using Asterisk with
2017 Jun 02
8
llvm-objcopy proposal
LLVM already implements its own version of almost all of binutils. The exceptions to this rule are objcopy and strip. This is a proposal to implement an llvm version of objcopy/strip to complete llvm’s binutils. Several projects only use gnu binutils because of objcopy/strip. LLVM itself uses objcopy in fact. Chromium and Fuchsia currently use objcopy as well. If you want to distribute your build
2012 May 10
2
setting global options for a package
This may be elementary, but I can't find an answer: How can I set up global options for some specific arguments to functions in a package which can be easily changed by the user? This question relates to the selection of colors used in functions in several packages (heplots, genridge), where I want to provide reasonable default values for plots, but allow users to change those defaults
2004 Oct 17
1
FW: Plotcorr: colour the ellipses to emphasize the differences
-----Original Message----- From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca] Sent: ned 2004-10-17 15:34 To: Gorjanc Gregor Cc: r-help at stat.math.ethz.ch Subject: Re: [R] Plotcorr: colour the ellipses to emphasize the differences On Sun, 17 Oct 2004 02:51:58 +0200, "Gorjanc Gregor" <Gregor.Gorjanc at bfro.uni-lj.si> wrote: [removed old stuff] >>I would also like to
2006 Aug 18
3
Lattice package par.settings/trellis.par.settings questions
Hi All, I'm trying to modify some of the default graphic parameters in a conditional histogram. While I was able to change the default grey background to white, I couldn't change the axis.font or the xlab font. I used the following code: /histogram(~V751|V013+V025, finalbase, xlab="Heard of HIV/AIDS (No/Yes)", col=c("cyan","magenta"),