randomizeBE 0.3-5 [R for BE/BA]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2019-08-25 15:19 (396 d 03:35 ago) – Posting: # 20516
Views: 2,479

Dear Helmut,

» sources of randomizeBE 0.3-5 on CRAN since yesterday.

Thank you for your messages. I just got upgraded.

packageVersion("randomizeBE")
[1] ‘0.3.5’

»...
» sequences("parallel")
» [1] "A" "B"
»
» sequences("parallel", tmts=c("R", "T1", "T2"))
» Error in sequences("parallel", tmts = c("R", "T1", "T2")) :
» Treatment codes must have 2 entries![/code][/indent]

Right. Though sequences() dose not work with tmts=c("R","T") or tmts=c("R","T1","T2"), RL4() still works very well.
RL4(24,seqs=c("R","T"))
Randomization table          created: 2019-08-25 20:13:13
(seed: 886436 blocksize: 4 )

 subject seqno sequence
       1     1        R
       2     1        R
       3     2        T
       4     2        T
       5     1        R
       6     1        R
       7     2        T
       8     2        T
       9     1        R
      10     2        T
      11     1        R
      12     2        T
      13     1        R
      14     1        R
      15     2        T
      16     2        T
      17     2        T
      18     2        T
      19     1        R
      20     1        R
      21     2        T
      22     1        R
      23     2        T
      24     1        R

RL4(24,seqs=c("R","T1","T2"))
Randomization table          created: 2019-08-25 20:15:06
(seed: 3637764 blocksize: 6 )

 subject seqno sequence
       1     2       T1
       2     3       T2
       3     3       T2
       4     2       T1
       5     1        R
       6     1        R
       7     1        R
       8     3       T2
       9     2       T1
      10     3       T2
      11     2       T1
      12     1        R
      13     3       T2
      14     2       T1
      15     1        R
      16     1        R
      17     3       T2
      18     2       T1
      19     3       T2
      20     2       T1
      21     2       T1
      22     1        R
      23     3       T2
      24     1        R

That means I cannot use RL4(...,seqs=seqs) where seqs=squences(...) if I prefer using "R", "T", "T1", "T2" for treatment abbreviated, instead of "A", "B", "C" etc.. Am I correct?

All the best,
-- Yung-jin Lee
bear v2.8.8:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here

Complete thread:

Activity
 Admin contact
21,074 posts in 4,394 threads, 1,468 registered users;
online 2 (0 registered, 2 guests [including 1 identified bots]).
Forum time: Thursday 18:55 CEST (Europe/Vienna)

Enlightenment is man’s emergence from his self-imposed nonage
for which he himself was responsible.
Nonage is the inability to use one’s own intellect
without the direction of another.    Immanuel Kant

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5