Hi Peter and Jeff!

Thanks very much for your code! Both worked perfectly in my data set!!

All best,

Raoni

2015-10-10 21:40 GMT-03:00 peter dalgaard <pda...@gmail.com>:
>
>> On 11 Oct 2015, at 02:12 , Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote:
>>
>> Sorry I missed the boat the first time, and while it looks like Peter is 
>> getting closer I suspect that is not quite there either due to the T2 being 
>> considered separate from T3 requirement.
>
> Er, what do you mean by that?
>
> As far as I can tell, we're selecting the same observations:
>
>> teste[kp,]
>    ID Group  Var
> 1   3    T2 0.32
> 2   4    T3 1.59
> 3   1    T2 2.94
> 4   1    T2 3.23
> 5   1    T2 1.40
> 6   1    T2 1.62
> 7   1    T2 2.43
> 8   1    T2 2.53
> 9   1    T2 2.25
> 10  1    T3 1.66
> 11  1    T3 2.86
> 12  1    T3 0.53
> 13  1    T3 1.66
> 14  1    T3 3.24
> 15  1    T3 1.34
> 21  2    T2 2.00
> 22  2    T2 2.39
> 23  2    T2 1.65
> 24  2    T2 2.05
> 25  2    T2 2.75
> 26  2    T2 2.23
> 27  2    T2 1.39
> 28  2    T2 2.66
> 29  2    T2 1.05
> 30  2    T3 2.52
>
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Email: pd....@cbs.dk  Priv: pda...@gmail.com
>
>
>
>
>
>
>
>



-- 
Raoni Rosa Rodrigues
Research Associate of Fish Transposition Center CTPeixes
Universidade Federal de Minas Gerais - UFMG
Brasil
rodrigues.ra...@gmail.com

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

Reply via email to