Re: [R] readBin documentation error

2016-09-03 Thread peter dalgaard
> On 03 Sep 2016, at 03:24 , Yucheng Song via R-help > wrote: > > Thanks for the reply. What I meant was that there is no int(), if you do a > ?readBin, you will find it there. Not as far as I can tell: what: Either an object whose mode will give the mode of the vector to be r

Re: [R] readBin documentation error

2016-09-03 Thread Duncan Murdoch
On 03/09/2016 3:56 AM, peter dalgaard wrote: On 03 Sep 2016, at 03:24 , Yucheng Song via R-help wrote: Thanks for the reply. What I meant was that there is no int(), if you do a ?readBin, you will find it there. Not as far as I can tell: what: Either an object whose mode will give the

Re: [R] Improve code efficient with do.call, rbind and split contruction

2016-09-03 Thread Bert Gunter
Chuck et. al.: As I said previously, my intuition about the relative efficiency of tapply() and duplicated() in the context of this thread was wrong. But I wondered exactly how and to what extent. So I've fooled around a bit more and think I understand. Using the example I gave, the key is to repl

Re: [R] Improve code efficient with do.call, rbind and split contruction

2016-09-03 Thread Charles C. Berry
On Sat, 3 Sep 2016, Bert Gunter wrote: Chuck et. al.: As I said previously, my intuition about the relative efficiency of tapply() and duplicated() in the context of this thread was wrong. My `intuition' was wrong, too. But tapply() uses split() which runs quite fast. So not a big surprise,

Re: [R] svytable: How do i create a table informing a third variable?

2016-09-03 Thread David Winsemius
> On Sep 2, 2016, at 6:08 PM, Juan Ceccarelli Arias wrote: > > Thanks a lot. Your code does the trick. > One last question: > The tabulate produced is showing every cross in just one column. > I mean, it presents the region by order and sex=1, and then again the > region but by sex==2. > Can i l

Re: [R] svytable: How do i create a table informing a third variable?

2016-09-03 Thread Juan Ceccarelli Arias
Your help was everything i needed it. Please, declare this topic as solved. And thanks again. On Sat, Sep 3, 2016 at 10:06 PM, David Winsemius wrote: > > > On Sep 2, 2016, at 6:08 PM, Juan Ceccarelli Arias > wrote: > > > > Thanks a lot. Your code does the trick. > > One last question: > > The t