Forum: open-discussion
Monitor Forum | Start New ThreadRE: joining table [ Reply ] By: Arne Henningsen on 2015-01-31 22:08 | [forum:41857] |
Dear Serge Please note that this forum is for general discussion about the maxLik package but I cannot see how your post is related to this package. I seems to me that the R-help mailing list would be the best place to ask your question (after reading the posting guide). Best regards, Arne |
RE: joining table [ Reply ] By: Ott Toomet on 2015-01-29 21:49 | [forum:41854] |
Dear Serge, I cannot understand what you want to achieve. You can easily divide each row by a particular number like: TAB <- rbind(a=c(start=12, stop=35), b=c(42, 83), c=c(61, 90)) print(TAB/c(1,2,3)) which gives start stop a 12.00000 35.0 b 21.00000 41.5 c 20.33333 30.0 But I cannot understand the number you have in your example... Cheers, Ott |
joining table [ Reply ] By: serge ela on 2015-01-29 09:21 | [forum:41849] |
Hello to all, please for help. I have a table name TAB like this : start stop a 12 35 b 42 83 c 61 90 d... And what I want, is to divide all rows by the same number. For exemple, divising my table TAB five, I would like to get this : a 12-17 18-23 24-29 30-35 b 42-47 48-53 54-59 60-65 66-71 72-77 78-83 c 61-66 67-72 73-78 79-84 85-90 d ... Please one more, if someone could have any idea .... Thank |