Displaying 20 results from an estimated 2000 matches similar to: "From two colors to 01 sequences"
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 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 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 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 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 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
ggplot2: How to export several plots with same width?
I have three plots and I want the *plot area* to be of the same width on
each plot. Since the three plots have different legends, the text width
of the legend affects the width of the plot area (longer legend text =
narrower plot area). Exporting the three figures to postscript device
of same size gives thus unequal plot areas. How can I calculate the
correct width of postscript device for each
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:
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
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)
1999 Jul 14
3
vector of NA indices
I have a vector Pes with 600 elements some of which are NA's. How can I
form a vector of the indices of the NA's.
for(i in 1:600) if(is.na(Pes[i])) print(i)
prints the indices of the NA's but I can't figure out how to put the
results in a vector.
Thank you very much.
Peter B.
--
Peter B. Mandeville mandevip at deimos.tc.uaslp.mx
Jefe del Depto. de
1999 Jan 07
2
errores
Happy New Year to all,
I am using RW0631 and WIN98.
1. The command DATA only works for the base library.
2. The following code on page 312 of Venables and Ripley 1997
sitka.lme <-
lme(size~treat*ordered(Time),random=~1,cluster=~tree,data=Sitka,
serial.structure="ar1.continuous",serial.covariate=~Time)
produced the following error message
Error in lme(size ~ treat *
1998 Nov 14
2
S-Poetry in R
Kjetil Halvorsen mentioned a book call "S-Poetry in R". I checked with
amazon.com and Barnes and Noble but they don't have it listed. Can somebody
please give me the complete reference and where it can be obtained.
Suggestion: Might it be possible to put a list of the most important and
new literature about R, S, and S+ which has a direct bearing on R in the
Documentation section
2003 Jan 21
2
How to convert jpg into lss format
I would like to to know about conversion from jpg file to lss format.
I used ppmtolss16. It is giving following errors.
for .jpg file:
ppmtolss16: stdin is not a raw PPM file at ppmtolss16 line 105, <STDIN>
line 1.
for .png files:
ppmtolss16: stdin is not a raw PPM file at ppmtolss16 line 105, <STDIN>
line 1.
from .ppm file: ( I converted .jpg file in to .ppm file using irfanview)
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