SXAJJKaaPhzWA&m=AeHAcF7RnhWvQIqG5c2ucgFS0WIOmMFeRheLIeSwu0U&s=xJMmDOJLaQZ0QMmI7rkkNd2T5-zrh843rlJ-R1LQ9G8&e=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvim
WY_wJYbW0WYiZvSXAJJKaaPhzWA&m=h2uDuHofumYjJ48NvOaART10-esHowpTtp37cGtD3yQ&s=efyHNH41uiy_mo_2RYV1aQU3sMi2yKoAfK7LMdoK5eM&e=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r
jDHTSOjin674VRk&s=lhpXJFzjB4p_pEFeUijjWa8Xd7IQ9ZOIzh5grUd7DQg&e=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwIGaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=
A-W4NkL_PpalU1VtS9iO60moznxYVBGfU5QbyNw&s=puQK7QZvG7lZuOYvo9D6UANEgWylkApF-xIvpLMGVhQ&e=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKa
mp;s=HGLgncA6cBilW_DkIzjBEizqo1AmvlshmOHQr4td1vc&e=
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA
omplete - run time is prohibitive (I killed the rsession
after 5 minutes).
I would think that merging data.frame's is a common operation. Is
there a better function (more performant) that I could use?
Thank you.
Witold
--
Hervé Pagès
Program in Computational Biology
Division of Public He
://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Resea
g list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public
On 07/27/2016 11:40 AM, Hervé Pagès wrote:
Hi,
On 07/27/2016 11:17 AM, lily li wrote:
Hi all,
I want to ask that how to create column names for a matrix. For example,
the matrix below, the column names should be: 1-A, 1-B, 1-C, 1-D, 2-A,
2-B,
2-C, 2-D, 3-A, etc. Thanks for your help.
chars
ample, but use the
original structure of the code. The original matrix has all characters
instead of 1:5.
On Wed, Jul 27, 2016 at 12:42 PM, Hervé Pagès mailto:hpa...@fredhutch.org>> wrote:
On 07/27/2016 11:40 AM, Hervé Pagès wrote:
Hi,
On 07/27/2016 11:17 AM, li
iterally?
You need to try things before you ask. That's the only way to learn!
H.
On Wed, Jul 27, 2016 at 12:40 PM, Hervé Pagès mailto:hpa...@fredhutch.org>> wrote:
Hi,
On 07/27/2016 11:17 AM, lily li wrote:
Hi all,
I want to ask that how to create column
l
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Pho
guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B5
Hi Sarah,
On 05/29/2015 12:04 PM, Sarah Goslee wrote:
On Fri, May 29, 2015 at 2:16 PM, Hervé Pagès wrote:
Hi Kate,
I found that matching the character vector to itself is a very
effective way to do this:
x <- c("a", "bunch", "of", "strings",
ng the ancestors of an individual. Hence the choice of
numeric ID's may be important.
Bill Dunlap
TIBCO Software
wdunlap tibco.com <http://tibco.com>
On Fri, May 29, 2015 at 1:29 PM, Hervé Pagès mailto:hpa...@fredhutch.org>> wrote:
Hi Sarah,
On 05/29/2015 12:04 PM
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible c
help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Cen
e
> http://www.R-project.org/posting-guide.html and provide
> commented, minimal, self-contained, reproducible code.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-hel
nd knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Jan 26, 2015 at 2:22 PM, Hervé Pagès wrote:
Hi Martin,
On 01/26/2015 04:45 AM, Martin Maechler wrote:
Jim Lemon
on Mon, 26 Jan 2015 11:21:03 +1100 writes:
> Hi Allen, How about this:
> sum_w_N
BE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred H
On 02/17/2015 08:03 PM, Hadley Wickham wrote:
On Tue, Feb 17, 2015 at 6:02 PM, Hervé Pagès wrote:
On 02/17/2015 02:10 PM, Erich Neuwirth wrote:
AFAIK dplyr imports magrtittr.
So dplyr ses %>% from migrittr, it does not have its own version.
But it has its own man page so who knows?
Candolle 2
CH-1211 Geneva
+41 76 527 80 83
http://www.alrik-thiem.net
http://www.compasss.org
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.
quot;
It works even if a variable name starts with a "p":
> funnyReplace("pmin(p)", c("pmin", "pmax"))
[1] "pmin(1 - P)"
and you can specify an arbitrary number of protected words.
Cheers,
H.
Best wishes,
Alrik
-Ursprüngliche Nach
l
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fredhutch.org
Pho
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P
h/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fair
xs4all.nl
>
>
>
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible
)
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in
ed by as.factor() on it.
H.
Ken
kmna...@gmail.com <mailto:kmna...@gmail.com>
914-450-0816 (tel)
347-730-4813 (fax)
On Mar 3, 2016, at 4:52 PM, Hervé Pagès mailto:hpa...@fredhutch.org>> wrote:
Hi,
On 03/03/2016 12:18 PM, KMNanus wrote:
I have a factor variable that is 6 digits an
On 05/03/2016 06:05 AM, Jeff Newmiller wrote:
Isn't that just an inefficient way to do
"age" == x
Yep, it's an inefficient way to do which(x == "age").
H.
?
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchins
CRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred
.. is 5 times faster with fixed=TRUE for this case.
This result matchea Marc's count:
sum(lengths(strsplit(paste0("X", Vec, "X"),"a",fixed=FALSE)) - 1)
[1] 38664
Chuck
__
R-help@r-project.org mailing list
ed=TRUE) solution uses less than 1Gb.
Cheers,
H.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Mon, Nov 14, 2016
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and prov
of argument
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Feb 14, 2017 at 5:10 PM, Hervé Pagès wrote:
Hi,
tapply() will
t I think a few extra words of
explanation here would not go amiss.
But, anyway, thanks for the clarification.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom
since that's
what actually powers the behaviour.
Reading the description for split leads to this rather interesting example:
tapply(mtcars, 1:11, I)
Hadley
On Tue, Feb 14, 2017 at 7:10 PM, Hervé Pagès wrote:
Hi,
tapply() will work on any object 'X' that has a length and supports
posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwIGaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=sLEnaUtX6fn9Y_qSSEHFl-W9OaFf4_3oSFFTpbvjAd4&s=PliR-mnRNhRqRnpIX6OFVtcpBlOR2rBkBKtemPQ-NMw&e=
(and able) to help you.
Cheers,
H.
Mohamed Lajnef wrote:
Dear R users,
Can someone explain me the interpretation of empirical p-value (
max(t)) used to test the genetic association with PLINK?
Any help will be appreciated
Regards
M
--
Hervé Pagès
Program in Computational Biology
bjects.
This approach is dependent on immutability of the function's data, and
I'm reluctant to create such constraints.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
ot;Women's clothing goods"
)
x2
x3 <- str_replace(x,
"Clothing accessories (belts and so on)",
"Clothing accessories")
x3
x4 <- str_replace(x,
"Women's footwear (excluding athletic)",
"Women's footwear")
x4
stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
On 04/12/2022 00:25, Hadley Wickham wrote:
On Sun, Dec 4, 2022 at 12:50 PM Hervé Pagès wrote:
On 03/12/2022 07:21, Bert Gunter wrote:
Perhaps it is worth pointing out that looping constructs like lapply() can
be avoided and the procedure vectorized by mimicking Martin Morgan's
sol
-2Dproject.org_posting-2Dguide.html&d=DwIFaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=2N70kU171QMzQHhg6A9N3op5jqv8uCm9-njqZfPW3Ok&s=GgmKzz9H7MAj3iy7Pu4U0q5v02Fumnl3hjxug2SY1zk&e=
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pa
eiprw&s=RzvpfqevFgNjYNRLX0nYF8un-5x7k-QG5h0465YA7mQ&e=
PLEASE do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwIDaQ&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=yZ
usiness School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd@cbs.dk Priv: pda...@gmail.com
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https:
ternative HTML version deleted]]
Plain-text format is the recommended format for Rhelp
--
David Winsemius
Alameda, CA, USA
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
an
etMethod("f", signature("A", "A"), function(x, y) "A-A")
setMethod("f", signature("B", "B"), function(x, y) "B-B")
# These work as I expect
f(a, a)
f(b, b)
setClass("AB", contains = c("A", "
), function(x, y) "C-C")
And then construct a multiple inheritance structure within a class BC:
setClass("BC", contains = c("B", "C"))
bc <- new("BC")
we see, that indeed the first lexicographical signature is chosen:
showMethods("f")
:36 AM, Simon Zehnder wrote:
Because the signature is always (A,A) or (B,B). Then, as in AB we have A and B
and no relationship between A and B, R chooses the method lexicographically.
The result is as expected: f for A is chosen.
It's not as expected, because it doesn't give a mess
mes=TRUE), list.files))
[1] "list"
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained,
find it.
Thanks,
H.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fa
cible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fax:(206
s you
have fast access to a CRAN mirror) because installing binary packages
is fast.
Cheers,
H.
On 10/26/2012 12:35 PM, Paul Bernal wrote:
Hello Hervé,
Im using Windows,
Best regards,
Paul
El 26/10/2012 14:17, "Hervé Pagès" mailto:hpa...@fhcrc.org>> escribió:
Hi Paul,
a vendor DB. And
I don't know an ANSI SQL standard way to remove trailing blanks in the
SELECT command. PostgreSQL has a "trim(trailing ' ' from column)', but
MS-SQL upchucks on that syntax.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Scienc
thz.ch/pipermail/r-help/2010-July/244299.html
should a loop be used?
for (i in 1: length(x))
if (is.odd(i)) print (i)
Carol
[[alternative HTML version deleted]]
______
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
tained, reproducible code.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible cod
ob" "Joe"
But I'd like them to show in the order in d, as "Joe" "Bob" "Dick". What is the
easy way to do this?
Thanks.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
ttp://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P
would like to
repeat this procedure for all position pairs. So for the next pair, I would
like a # right before 151795 and a # right after 151844.
Thank you.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
e posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 1
On 01/23/2014 04:49 PM, Hervé Pagès wrote:
Hi Mintewab,
With the IRanges packages (from Bioconductor):
> library(IRanges)
> countMatches(z, w)
[1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 3 1 1 0 1 0 0 0 0 0 0 1 3
2 0 0 1 0 0
[39] 0 0 0 0 0 0 0 0
And if you don't want t
c"
[[2]]
[1] "d" "e,f"
--8<---cut here---end--->8---
I thought that it should be identical to this:
--8<---cut here---start->8---
strsplit(c("a,b;c","d;e,f"),"[,;]")
[[1
eted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Pr
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division
-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024
E-mail: hpa...@fhcrc.org
Phone: (206) 667-5791
Fax:(206
ng guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Hervé Pagès
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M2-B876
P.O. Box 19024
Seattle, WA 981
nstall!
I must have done this 100 times since I started to work with R,
I always have 3 or more independent instances of R at the same time
on my laptop. They never "interfere" (when you install packages,
everything goes under R-2.14.2-instanceX/library/).
Cheers,
H.
Thanks,
Erin
nstall.packages("XML")
Warning in install.packages("XML") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
tryin
oaded_packages
Warning message:
In install.packages("KernSmooth") :
installation of package 'KernSmooth' had non-zero exit status
On Mon, Dec 1, 2008 at 4:05 PM, Hervé Pagès <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I'm taking this off-list f
70 matches
Mail list logo