Re: [R] (no subject)

2016-10-06 Thread John Dougherty
On 6 Oct 2016 07:55:28 -
"abhishek pandey"  wrote:

> kindly solve my problem sir.
> 
> 
The answer obviously is 42.

JWDougherty

__
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.


Re: [R] (no subject)

2016-10-06 Thread David Winsemius

> On Oct 6, 2016, at 4:22 PM, Jeff Newmiller  wrote:
> 
> The OP sent a separate email which was slightly less obscure. Taken together 
> with this email, they suggest more a lack of familiarity with the concept of 
> an email thread and with the time scale and features of email support, rather 
> than a presumption of mind reading skills. One can hope that careful reading 
> of the Posting Guide and referenced materials by the OP will correct this 
> deficiency. 
> 
> I will admit to considering a fortune nomination at first reading though.

Sigh. 

As a moderator of "non-subscriber postings", I initially rejected a posting 
from this email address 2 days ago with advice to read the Posting Guide and 
re-post with a more complete request and to avoid using HTML. So far, I have 
not seen a responsive effort to respond to that advice.

The advice we moderators follow is to use a very liberal filter for what should 
be posted, but this poster does seem to be a challenge to that interpretation.

Perhaps we should be referring some of these poorly documented postings to 
StackOverflow at the moderations event? What say you, members of the esteemed 
audience?

-- 
David Winsemius


> -- 
> Sent from my phone. Please excuse my brevity.
> 
> On October 6, 2016 3:26:22 PM PDT, Jim Lemon  wrote:
>> It certainly does. As we are often confronted with requests for
>> solutions of problems so minimally defined as to challenge the most
>> eminent mindreader, this excels. We have a meta-problem as the
>> supplicant him- (or her-, I cannot even ascertain this) does not
>> appear to know what it is. Thus me are asked to both pose and solve
>> the problem. While this may seem trivial to the casual reader, we must
>> recall Adams' Paradox, that we might supply an answer, but be unable
>> to state the question.
>> 
>> Pardon the enthusiasm - I have just solved two gratuitous problems and
>> I was, so to speak, primed for this message.
>> 
>> Jim
>> 
>> On Fri, Oct 7, 2016 at 7:20 AM, Rolf Turner 
>> wrote:
>>> On 06/10/16 20:55, abhishek pandey wrote:
 
 kindly solve my problem sir.
>>> 
>>> 
>>> That's it, in its entirety.  Shouldn't that win some sort of prize?
>>> 
>>> cheers,
>>> 
>>> Rolf Turner
>>> 

David Winsemius
Alameda, CA, USA

__
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.


Re: [R] (no subject)

2016-10-06 Thread Jeff Newmiller
The OP sent a separate email which was slightly less obscure. Taken together 
with this email, they suggest more a lack of familiarity with the concept of an 
email thread and with the time scale and features of email support, rather than 
a presumption of mind reading skills. One can hope that careful reading of the 
Posting Guide and referenced materials by the OP will correct this deficiency. 

I will admit to considering a fortune nomination at first reading though.
-- 
Sent from my phone. Please excuse my brevity.

On October 6, 2016 3:26:22 PM PDT, Jim Lemon  wrote:
>It certainly does. As we are often confronted with requests for
>solutions of problems so minimally defined as to challenge the most
>eminent mindreader, this excels. We have a meta-problem as the
>supplicant him- (or her-, I cannot even ascertain this) does not
>appear to know what it is. Thus me are asked to both pose and solve
>the problem. While this may seem trivial to the casual reader, we must
>recall Adams' Paradox, that we might supply an answer, but be unable
>to state the question.
>
>Pardon the enthusiasm - I have just solved two gratuitous problems and
>I was, so to speak, primed for this message.
>
>Jim
>
>On Fri, Oct 7, 2016 at 7:20 AM, Rolf Turner 
>wrote:
>> On 06/10/16 20:55, abhishek pandey wrote:
>>>
>>> kindly solve my problem sir.
>>
>>
>> That's it, in its entirety.  Shouldn't that win some sort of prize?
>>
>> cheers,
>>
>> Rolf Turner
>>
>> --
>> Technical Editor ANZJS
>> Department of Statistics
>> University of Auckland
>> Phone: +64-9-373-7599 ext. 88276
>>
>>
>> __
>> 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.
>
>__
>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.

__
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.


Re: [R] (no subject)

2016-10-06 Thread Dalthorp, Daniel
The answer is 42 (in base 13). The question is "What do you get when you
multiply six by nine?"

On Thu, Oct 6, 2016 at 3:54 PM, Jim Lemon  wrote:

> No, I'm quite certain that the answer is:
>
> 7*6 = 3*2^4 - 36/6
>
> but I don't know the question
>
> Jim
>
> On Fri, Oct 7, 2016 at 9:48 AM, Dalthorp, Daniel 
> wrote:
> > Question and answer:
> >
> > 6*9 = (4)*13^1 + (2)*13^0
> >
> > On Thu, Oct 6, 2016 at 3:26 PM, Jim Lemon  wrote:
> >>
> >> It certainly does. As we are often confronted with requests for
> >> solutions of problems so minimally defined as to challenge the most
> >> eminent mindreader, this excels. We have a meta-problem as the
> >> supplicant him- (or her-, I cannot even ascertain this) does not
> >> appear to know what it is. Thus me are asked to both pose and solve
> >> the problem. While this may seem trivial to the casual reader, we must
> >> recall Adams' Paradox, that we might supply an answer, but be unable
> >> to state the question.
> >>
> >> Pardon the enthusiasm - I have just solved two gratuitous problems and
> >> I was, so to speak, primed for this message.
> >>
> >> Jim
> >>
> >> On Fri, Oct 7, 2016 at 7:20 AM, Rolf Turner 
> >> wrote:
> >> > On 06/10/16 20:55, abhishek pandey wrote:
> >> >>
> >> >> kindly solve my problem sir.
> >> >
> >> >
> >> > That's it, in its entirety.  Shouldn't that win some sort of prize?
> >> >
> >> > cheers,
> >> >
> >> > Rolf Turner
> >> >
> >> > --
> >> > Technical Editor ANZJS
> >> > Department of Statistics
> >> > University of Auckland
> >> > Phone: +64-9-373-7599 ext. 88276
> >> >
> >> >
> >> > __
> >> > 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.
> >>
> >> __
> >> 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.
> >>
> >
> >
> >
> > --
> > Dan Dalthorp, PhD
> > USGS Forest and Rangeland Ecosystem Science Center
> > Forest Sciences Lab, Rm 189
> > 3200 SW Jefferson Way
> > Corvallis, OR 97331
> > ph: 541-750-0953
> > ddalth...@usgs.gov
> >
>
>


-- 
Dan Dalthorp, PhD
USGS Forest and Rangeland Ecosystem Science Center
Forest Sciences Lab, Rm 189
3200 SW Jefferson Way
Corvallis, OR 97331
ph: 541-750-0953
ddalth...@usgs.gov

[[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 provide commented, minimal, self-contained, reproducible code.


Re: [R] (no subject)

2016-10-06 Thread Jim Lemon
No, I'm quite certain that the answer is:

7*6 = 3*2^4 - 36/6

but I don't know the question

Jim

On Fri, Oct 7, 2016 at 9:48 AM, Dalthorp, Daniel  wrote:
> Question and answer:
>
> 6*9 = (4)*13^1 + (2)*13^0
>
> On Thu, Oct 6, 2016 at 3:26 PM, Jim Lemon  wrote:
>>
>> It certainly does. As we are often confronted with requests for
>> solutions of problems so minimally defined as to challenge the most
>> eminent mindreader, this excels. We have a meta-problem as the
>> supplicant him- (or her-, I cannot even ascertain this) does not
>> appear to know what it is. Thus me are asked to both pose and solve
>> the problem. While this may seem trivial to the casual reader, we must
>> recall Adams' Paradox, that we might supply an answer, but be unable
>> to state the question.
>>
>> Pardon the enthusiasm - I have just solved two gratuitous problems and
>> I was, so to speak, primed for this message.
>>
>> Jim
>>
>> On Fri, Oct 7, 2016 at 7:20 AM, Rolf Turner 
>> wrote:
>> > On 06/10/16 20:55, abhishek pandey wrote:
>> >>
>> >> kindly solve my problem sir.
>> >
>> >
>> > That's it, in its entirety.  Shouldn't that win some sort of prize?
>> >
>> > cheers,
>> >
>> > Rolf Turner
>> >
>> > --
>> > Technical Editor ANZJS
>> > Department of Statistics
>> > University of Auckland
>> > Phone: +64-9-373-7599 ext. 88276
>> >
>> >
>> > __
>> > 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.
>>
>> __
>> 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.
>>
>
>
>
> --
> Dan Dalthorp, PhD
> USGS Forest and Rangeland Ecosystem Science Center
> Forest Sciences Lab, Rm 189
> 3200 SW Jefferson Way
> Corvallis, OR 97331
> ph: 541-750-0953
> ddalth...@usgs.gov
>

__
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.


Re: [R] (no subject)

2016-10-06 Thread Dalthorp, Daniel
Question and answer:

6*9 = (4)*13^1 + (2)*13^0

On Thu, Oct 6, 2016 at 3:26 PM, Jim Lemon  wrote:

> It certainly does. As we are often confronted with requests for
> solutions of problems so minimally defined as to challenge the most
> eminent mindreader, this excels. We have a meta-problem as the
> supplicant him- (or her-, I cannot even ascertain this) does not
> appear to know what it is. Thus me are asked to both pose and solve
> the problem. While this may seem trivial to the casual reader, we must
> recall Adams' Paradox, that we might supply an answer, but be unable
> to state the question.
>
> Pardon the enthusiasm - I have just solved two gratuitous problems and
> I was, so to speak, primed for this message.
>
> Jim
>
> On Fri, Oct 7, 2016 at 7:20 AM, Rolf Turner 
> wrote:
> > On 06/10/16 20:55, abhishek pandey wrote:
> >>
> >> kindly solve my problem sir.
> >
> >
> > That's it, in its entirety.  Shouldn't that win some sort of prize?
> >
> > cheers,
> >
> > Rolf Turner
> >
> > --
> > Technical Editor ANZJS
> > Department of Statistics
> > University of Auckland
> > Phone: +64-9-373-7599 ext. 88276
> >
> >
> > __
> > 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.
>
> __
> 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.
>
>


-- 
Dan Dalthorp, PhD
USGS Forest and Rangeland Ecosystem Science Center
Forest Sciences Lab, Rm 189
3200 SW Jefferson Way
Corvallis, OR 97331
ph: 541-750-0953
ddalth...@usgs.gov

[[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 provide commented, minimal, self-contained, reproducible code.


Re: [R] (no subject)

2016-10-06 Thread Jim Lemon
It certainly does. As we are often confronted with requests for
solutions of problems so minimally defined as to challenge the most
eminent mindreader, this excels. We have a meta-problem as the
supplicant him- (or her-, I cannot even ascertain this) does not
appear to know what it is. Thus me are asked to both pose and solve
the problem. While this may seem trivial to the casual reader, we must
recall Adams' Paradox, that we might supply an answer, but be unable
to state the question.

Pardon the enthusiasm - I have just solved two gratuitous problems and
I was, so to speak, primed for this message.

Jim

On Fri, Oct 7, 2016 at 7:20 AM, Rolf Turner  wrote:
> On 06/10/16 20:55, abhishek pandey wrote:
>>
>> kindly solve my problem sir.
>
>
> That's it, in its entirety.  Shouldn't that win some sort of prize?
>
> cheers,
>
> Rolf Turner
>
> --
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
>
>
> __
> 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.

__
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.


Re: [R] (no subject)

2016-10-06 Thread Rolf Turner

On 06/10/16 20:55, abhishek pandey wrote:

kindly solve my problem sir.


That's it, in its entirety.  Shouldn't that win some sort of prize?

cheers,

Rolf Turner

--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

__
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.


Re: [R] how to use 97.5%, 2.5% values of parameters for next calculation

2016-10-06 Thread David Winsemius

> On Oct 6, 2016, at 7:07 AM, abhishek pandey 
>  wrote:
> 
> Sent from RediffmailNG on Android
> 
> From: "abhishek pandey"abhishekpandey_1...@rediffmail.com
> Sent:Thu, 06 Oct 2016 13:24:39 +0530
> To: r-help-ow...@r-project.org
> Subject: how to use 97.5%,2.5% values of parameters for next calculation
> Sir 
> I request you to help me for completing my programm.
> SIZE STEPS Age BASEANDSTEPS num.thin num.chain num.iter num.burn ##NUMBER OF 
> ITERATIONS common for cohort model
>> ITER time A1 library(R2WinBUGS)
> Loading required package: boot
> Warning messages:
> 1: package ‘R2WinBUGS’ was built under R version 3.1.3 
> 2: package ‘boot’ was built under R version 3.1.3 
>> A1 J K low up lowl phi.ul  phi.ll =c(18.776362,131.380765,20.367508, 
>> 50.197501,16.199959,1.262005, 1.148303)
>> data parameters inits inits tfrsim tfrsim
>   [[alternative HTML version deleted]]
> 

As you can see, the fact that you (still) have not read the Posting Guide and 
posted in HTML has left this message unreadable. Please _now_ take the time to 
read the Posting Guide.

> __
> 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 \/\/\/\/\/\/\
> and provide commented, minimal, self-contained, reproducible code.

Which mean you need to include data either as a text  attachment(with extension 
'.txt') or inline.

^^
David Winsemius
Alameda, CA, USA

__
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.

Re: [R] Dates

2016-10-06 Thread ruipbarradas

Hello,

Your attachment didn't come through, save the file in the csv format  
and name it *.txt.
Moreover, you ask what is wrong with your syntax, but what syntax?  
What is your code? Post a minimal example of what you are trying if  
you want answers from us.

In the mean time at an R pormpt try


?as.Date
?format


Hope this helps,

Rui Barradas



Citando Sinenhlanhla Mdluli via R-help :


All

I am having trouble converting dates into a uniform type using the  
R-code,I am not sure what is wrong with my syntax.But could you  
please tell me a more efficient way to qorking with time-series  
dates .I have attached the excel file that I want to convert dates on

Regards
__
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.


__
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.


Re: [R] replicating PLINK's --genome calculations.

2016-10-06 Thread Federico Calboli

> On 6 Oct 2016, at 17:51, Bert Gunter  wrote:
> 
> You may get an answer here, but the Bioconductor site/list is almost
> certainly a better place to post this.

Good call — I would have never though of checking BioC.  In fact the package 
SNPRelate seems to do what I need.

Best

F



> 
> 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 Thu, Oct 6, 2016 at 5:56 AM, Federico Calboli
>  wrote:
>> Hi All,
>> 
>> I have some genetic data and I want to resample it changing the number of 
>> individuals and/or the number of markers to show the effects of smaller 
>> sample sizes on the pairwise-IBD calculations.  The “standard” I need to 
>> follow is PLINK, specifically the --genome option.  I could create multiple 
>> subsets of the data, export it an have PLINK do the needed calculations, and 
>> then reimport the results in R, but this is obviously pretty silly, 
>> especially because it would require creating, exporting and importing a few 
>> hundreds files.  I could write the needed functions to do what PLINK does, 
>> but I’d rather not reinvent the wheel so it might be worth asking:  is there 
>> any package/function that would do (in R) what PLINK does with --genome?
>> 
>> Bets wishes
>> 
>> F
>> 
>> --
>> Federico Calboli
>> Ecological Genetics Research Unit
>> Department of Biosciences
>> PO Box 65 (Biocenter 3, Viikinkaari 1)
>> FIN-00014 University of Helsinki
>> Finland
>> 
>> federico.calb...@helsinki.fi
>> 
>> __
>> 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.

--
Federico Calboli
Ecological Genetics Research Unit
Department of Biosciences
PO Box 65 (Biocenter 3, Viikinkaari 1)
FIN-00014 University of Helsinki
Finland

federico.calb...@helsinki.fi

__
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.

Re: [R] (no subject)

2016-10-06 Thread John McKown
On Thu, Oct 6, 2016 at 2:55 AM, abhishek pandey <
abhishekpandey_1...@rediffmail.com> wrote:

> kindly solve my problem sir.
>
>
​A very polite request. Unfortunately it is impossible because your email
was HTML formatted and the list software removed the most of your email
before sending it out. You must use "plain text" only. Also, depending on
exactly what your request is, your response may well be "we don't do
homework" (if it looks like class work), or if it appears that you want
someone to write code for you, instead of helping with a specific problem
in your code, then it is unlikely to be done because the list is not,
generall, inhabited by unpaid consultants.​



-- 
Heisenberg may have been here.

Unicode: http://xkcd.com/1726/

Maranatha! <><
John McKown

[[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 provide commented, minimal, self-contained, reproducible code.

[R] Fw: how to use 97.5%,2.5% values of parameters for next calculation

2016-10-06 Thread abhishek pandey
Sent from RediffmailNG on Android

From: "abhishek pandey"abhishekpandey_1...@rediffmail.com
Sent:Thu, 06 Oct 2016 13:24:39 +0530
To: r-help-ow...@r-project.org
Subject: how to use 97.5%,2.5% values of parameters for next calculation
Sir 
 I request you to help me for completing my programm.
 SIZE STEPS Age BASEANDSTEPS num.thin num.chain num.iter num.burn ##NUMBER OF 
ITERATIONS common for cohort model
 > ITER time A1 library(R2WinBUGS)
 Loading required package: boot
 Warning messages:
 1: package ‘R2WinBUGS’ was built under R version 3.1.3 
 2: package ‘boot’ was built under R version 3.1.3 
 > A1 J K low up lowl phi.ul  phi.ll =c(18.776362,131.380765,20.367508, 
 > 50.197501,16.199959,1.262005, 1.148303)
 > data parameters inits inits tfrsim tfrsim
[[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 provide commented, minimal, self-contained, reproducible code.

[R] (no subject)

2016-10-06 Thread abhishek pandey
kindly solve my problem sir.


[[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 provide commented, minimal, self-contained, reproducible code.


[R] Dates

2016-10-06 Thread Sinenhlanhla Mdluli via R-help
All

I am having trouble converting dates into a uniform type using the R-code,I am 
not sure what is wrong with my syntax.But could you please tell me a more 
efficient way to qorking with time-series dates .I have attached the excel file 
that I want to convert dates on
Regards
__
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.


Re: [R] replicating PLINK's --genome calculations.

2016-10-06 Thread Bert Gunter
You may get an answer here, but the Bioconductor site/list is almost
certainly a better place to post this.

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 Thu, Oct 6, 2016 at 5:56 AM, Federico Calboli
 wrote:
> Hi All,
>
> I have some genetic data and I want to resample it changing the number of 
> individuals and/or the number of markers to show the effects of smaller 
> sample sizes on the pairwise-IBD calculations.  The “standard” I need to 
> follow is PLINK, specifically the --genome option.  I could create multiple 
> subsets of the data, export it an have PLINK do the needed calculations, and 
> then reimport the results in R, but this is obviously pretty silly, 
> especially because it would require creating, exporting and importing a few 
> hundreds files.  I could write the needed functions to do what PLINK does, 
> but I’d rather not reinvent the wheel so it might be worth asking:  is there 
> any package/function that would do (in R) what PLINK does with --genome?
>
> Bets wishes
>
> F
>
> --
> Federico Calboli
> Ecological Genetics Research Unit
> Department of Biosciences
> PO Box 65 (Biocenter 3, Viikinkaari 1)
> FIN-00014 University of Helsinki
> Finland
>
> federico.calb...@helsinki.fi
>
> __
> 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.

__
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.

[R] replicating PLINK's --genome calculations.

2016-10-06 Thread Federico Calboli
Hi All,

I have some genetic data and I want to resample it changing the number of 
individuals and/or the number of markers to show the effects of smaller sample 
sizes on the pairwise-IBD calculations.  The “standard” I need to follow is 
PLINK, specifically the --genome option.  I could create multiple subsets of 
the data, export it an have PLINK do the needed calculations, and then reimport 
the results in R, but this is obviously pretty silly, especially because it 
would require creating, exporting and importing a few hundreds files.  I could 
write the needed functions to do what PLINK does, but I’d rather not reinvent 
the wheel so it might be worth asking:  is there any package/function that 
would do (in R) what PLINK does with --genome?   

Bets wishes

F

--
Federico Calboli
Ecological Genetics Research Unit
Department of Biosciences
PO Box 65 (Biocenter 3, Viikinkaari 1)
FIN-00014 University of Helsinki
Finland

federico.calb...@helsinki.fi

__
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.