[R] something weird has happened....!!!!!!!!!!

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri Dec 15 18:24:27 CET 2017


Be sure to keep the mailing list in the loop by using reply-all or equivalent in your email program. 

You can use the set.seed function with any fixed value before you call functions that use randomness to create a reproducible output. 
-- 
Sent from my phone. Please excuse my brevity.

On December 15, 2017 9:07:24 AM PST, akshay kulkarni <akshay_e4 at hotmail.com> wrote:
>dear Jeff,
>
>                 I think you have hit the bulls eye.
>
>I am using MICE to populate NA values(imputation) in the source data.
>Everytime I call the function MICE populates different values instead
>of the NA's , right? Is this the randomness you are speaking about?
>
>
>I will test the function again tomorrow. Hope you are right....!!!!!!
>
>
>Thanks a lot......!!!!!!!!
>
>
>yours
>
>AKSHAY M KULKARNI
>
>________________________________
>From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
>Sent: Friday, December 15, 2017 10:09 PM
>To: r-help at r-project.org; Duncan Murdoch; akshay kulkarni;
>r-help at r-project.org
>Subject: Re: [R] something weird has happened....!!!!!!!!!!
>
>Entry 250 is different between the two. However, I (we?) have no idea
>what that function is so it might be using randomness as part of its
>calculation.
>--
>Sent from my phone. Please excuse my brevity.
>
>On December 15, 2017 7:11:30 AM PST, Duncan Murdoch
><murdoch.duncan at gmail.com> wrote:
>>On 15/12/2017 7:45 AM, akshay kulkarni wrote:
>>> dear Members,
>>>
>>>
>>>
>>> Today something weird has happened on my R console. I have attached
>>two screenshots of the same vector in my R console but they differ.
>>
>>Those are function calls, you aren't just printing the same vector
>>twice, you're producing two vectors.
>>
>>But in what way do they differ?  I looked at 3 entries, and they were
>>identical.
>>
>>Duncan Murdoch
>>>
>>>
>>> Also one of my function returns negative values, even after double
>>checking the code, which should return only positive values..
>>>
>>>
>>> Whats wrong..? Reinstall R?
>>>
>>>
>>> Thanks for help....
>>>
>>>
>>> AKSHAY M KULKARNI
>>>
>>>
>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>R-help -- Main R Mailing List: Primary help - Homepage -
>SfS<https://stat.ethz.ch/mailman/listinfo/r-help>
>stat.ethz.ch
>The main R mailing list, for announcements about the development of R
>and the availability of new code, questions and answers about problems
>and solutions using R ...
>
>
>
>>> PLEASE do read the posting guide
>>http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>>______________________________________________
>>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>https://stat.ethz.ch/mailman/listinfo/r-help
>R-help -- Main R Mailing List: Primary help - Homepage -
>SfS<https://stat.ethz.ch/mailman/listinfo/r-help>
>stat.ethz.ch
>The main R mailing list, for announcements about the development of R
>and the availability of new code, questions and answers about problems
>and solutions using R ...
>
>
>
>>PLEASE do read the posting guide
>>http://www.R-project.org/posting-guide.html
>>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list