Re: [R] bug in dummy.coef?

2013-10-24 Thread Alexandra Kuznetsova
nal Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: 25. oktober 2013 00:58 To: Alexandra Kuznetsova Cc: r-help@r-project.org Subject: Re: [R] bug in dummy.coef? On Oct 24, 2013, at 1:51 AM, Alexandra Kuznetsova wrote: > Dear all, > > Running the following code

Re: [R] bug in dummy.coef?

2013-10-24 Thread Alexandra Kuznetsova
ts_2.11.3 grid_3.0.1 gtools_3.0.0 minqa_1.2.1nlme_3.1-109 [8] rpart_4.1-1tools_3.0.1 With best wishes, Alexandra From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] on behalf of Alexandra Kuznetsova [a...@dtu.dk] Sent: Thurs

[R] bug in dummy.coef?

2013-10-24 Thread Alexandra Kuznetsova
Dear all, Running the following code produces an error in dummy.coef. I guess it might be a bug.. > ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) > trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69) > group <- gl(2, 10, 20, labels = c("Ctl","Trt")) > weight <- c(ctl, trt)