Displaying 20 results from an estimated 5000 matches similar to: "ggplot2: How to export several plots with same width?"
2009 May 27
5
How to exclude a column by name?
Given an arbitrary data frame, it is easy to exclude a column given its index:
df[,-2]. How to do the same thing given the column name? A naive attempt
df[,-"name"] did not work :)
2009 May 10
1
ggplot2: recommended workaround for broken legend.position="top"
Searching the mail archives I found that using legend.position as in
p.ring.3 + opts(legend.position="top")
is a known bug. I tried doing
p.ring.3 + opts(legend.position=c(0.8, 0.2))
which works, but the legend background is transparent, i.e. I see the
plot background through the legend. Adding additional option
opts(legend.background=theme_rect(fill=TRUE,colour="white"))
2009 May 05
2
problem with ggplot2 boxplot, groups and facets
I have a following problem:
The call
qplot(wg, v.realtime, data=df.best.medians$gv1, colour=sp, geom="boxplot")
works nice: for each value of the wg factor I get two box-plots (two levels in
the sp factor) in different colours, side-by-side, centered at the wg x-axis.
However, I want to separate the data belonging to different levels of the n
factor, so I add the facets option:
2009 May 12
2
From two colors to 01 sequences
Dear All,
Perhaps, what I am asking is impossible, but I am asking it anyway.
I have got several pdf files with rows of colored rectangles: red
rectangles should be read as 0; green rectangles as 1. No other color
exists. Is there some way to have R reading the colored rectangles to
a matrix or data frame converting the color of the rectangles to
sequences of 01?
Thanks in advance,
Paul
2009 May 03
7
running R on netbooks/minis?
Dear R People:
Is it possible to run R on a netbook/mini, please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2009 May 26
1
Selection and aggregation in one operation?
I have a large data-frame with measurements such as:
id i v1 v2 v3
1 1 1.1 1.2 1.3
1 2 1.4 1.5 1.6
1 3 1.5 1.7 1.8
2 1 2.1 2.2 2.3
2 2 2.7 2.5 2.6
2 3 2.4 2.8 2.9
For each unique value of 'id' (which in the real data-set is a combination of
three variables) I want to compute the median of v1 within each group ('i'
distinguishes measurements within a group), and copy the
2009 May 01
2
Reccomendation for graphics package
Hello,
What would you recommend for producing publication-quality plots with R?
Built-in graphics, trellis, ggplot2, or something else?
Basic requirements:
- I need to draw line-, box-, density-plots, bar-charts and histograms
- error bars on bar- and box-plots
- easy tiling of multiple plots on a single "page"
Basic R plotting with mfrow and mfcol parameters is not satisfactory
2009 May 04
2
Calculating relative ratios in a data frame..
I have a data-set that is structured as follows:
sp wg n v.realtime v.cputime v.tcputime v.idletime v.nswtch
9 0 1 1 28.61300 28.61 28.6039 0.00000e+00 407
1563 0 1 2 15.20270 30.38 28.5981 9.80523e-01 483
3128 0 1 4 12.50930 50.00 28.6053 1.07877e+01 489
4682 0 1 6 12.10260 72.55
2009 May 21
1
postscript problems (landscape orientation)
I use the following function to export some figures to .eps:
p.eps <- function(p, fname, title = NULL, width, height)
{
postscript(file=fname, onefile=FALSE, paper="special",
width=width, height=height, horizontal=FALSE)
print(p + opts(title = title))
dev.off()
}
Whenever I have a page consisting of *only* figures exported in this way,
Acrobat Reader shows them in
2009 Jun 01
1
installing sn package
Hi r-users,
I want to use the sn package but I got the following message:
> install.packages(repos=NULL,pkgs="c:\\Tinn-R\\sn_0.4-12.zip")
Warning: package 'sn' is in use and will not be installed
updating HTML package descriptions
I did tried to do it a few times but it gives the same message.
________________________________
From:
2011 Oct 18
3
Ordering of stack in ggplot (package ggplot2)
I'm trying to reproduce the 3rd graph on the page of this site:
http://learnr.wordpress.com/2009/03/17/ggplot2-barplots/ . However, the data
below produces a ggplot with the stacks sorted in alphabetical order from
the bottom up. I'd like the stacks to be in the order "Europe", "Asia",
"Americas, "Africa", "Oceania". Is there an easy way to
2015 Aug 17
2
Front page
Hello,
i need permision to create Serbian Front Page.
Thanks,
Zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20150817/f72d4adc/attachment-0002.html>
2015 Aug 21
2
Formatting Contents
Hello again. We formed Russian wiki page with ru code. Please, can you add
Russian wiki link on your Serbian front page? Thanks.
2015-08-20 18:20 GMT+06:00 Ilyas Arinov <arinov.ilyas at gmail.com>:
> Some elements depends of browser language settings or system language
> variables.
>
> 2015-08-20 17:53 GMT+06:00 ????? ??????????? <
> zeljko.milovanovic.srb at
2015 Aug 20
2
Formatting Contents
Thanks Ilyas, but "Contents" header still remains.
???, 20. ??? 2015. ? 13.46 Ilyas Arinov <arinov.ilyas at gmail.com> ??
???????/??:
> You should just translate chapter captions. It will be autoreplaced.
>
> 2015-08-20 14:00 GMT+06:00 ????? ??????????? <
> zeljko.milovanovic.srb at gmail.com>:
>
>> Hello,
>> how could i rename
2012 Feb 01
1
ggplot2(0.9.0): could not find function "=="
Hi,
I have a question related to the newest version of ggplot2 (0.9.0). I
just updated this morning and from CRAN it looks like the Mac version
is the only one at 0.9.0 as of right now.
http://cran.r-project.org/web/packages/ggplot2/index.html
Anyway, I was in the midst of a project where I was trying to
replicate "Back-to-back Bar Charts" in this blog post.
2010 Mar 24
1
GGPLOT2: Reverse order of legend to match order of x-axis
How do I reverse the order of the legend in a bar plot to match order of the
x-axis? In other words, I want the stacked colors of the legend to match the
stacked colors of the bar plot. I tried this, but it didn't work.
colors <- c("5" = "red","4" = "blue","3" = "darkgreen")
p <- qplot(factor(cyl), data=mtcars,
2015 Aug 20
2
Formatting Contents
Hello,
how could i rename [[TableOfContents(3)]] macro, so that it displays
translated term?
Zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20150820/fc257d8d/attachment-0002.html>
2019 May 06
5
Potfix+Dovecot with dsync replication problem
Hi all,
I am in need of some help.
Straggling to make something work, trying to configure postfix and dovecote
imap server with dovecote replication.
Can?t figure out what is wrong with my configuration.
Replication is working only for vmail user account, I am getting this error
on my secondary server for all other users?
dovecot: doveadm: Fatal: setgid(4015(zdokman) from userdb lookup)
2020 Mar 29
2
Tareas interactivas en R
Hola miembros de la lista,
Estoy buscando una manera de elaborar tareas o examenes interactivos para
mis clases de estadística con R.
He visto 2 paquetes muy interesantes que son, learnr y gradethis, pero
todavía no logro entender completamente su dinámica.
Por lo que entiendo, en gradethis si el estudiante se equivoca tiene la
posibilidad de reintentar hasta dar con la solución, lo cual no lo
2015 Aug 17
1
Front page
On 17 August 2015 at 14:39, ????? ???????????
<zeljko.milovanovic.srb at gmail.com> wrote:
> Hello,
> i need permision to create Serbian Front Page.
> Thanks,
> Zeljko
Hello Zeljko,
I have just set up a new Serbian FrontPage [1] which contains the
current English content. You should now be able to edit it
appropriately.
Alan.
[1] http://wiki.centos.org/rs/FrontPage