randomization [R for BE/BA]

posted by Ana Cristina – Brazil, 2018-02-24 16:47  – Posting: # 18456
Views: 5,052

Dear ElMaestro,

Perfect thank you!


Just one detail: in the output (result) the subjects appear in the sequence (1 to 8 female and 9 to 16 male). Is it possible to randomize so that the output genre appears like this? For example ... not necessarily in that sequence .... but randomized the genre.

1 F
2 M
3 F
4 M
5 M
6 F
?????

And another detail, I need in the output of the result to appear the seed used and the date and time that the randomization was performed. It's possible?

By the function randomizeBE the result appears like this:
Example: seed 2047732 blocksize: 2 created: 2018-02-24 12:38:06

Sorry about my English,


Thank you,

Ana Cristina

Complete thread:

Activity
 Mix view
Bioequivalence and Bioavailability Forum |  Admin contact
19,437 posts in 4,125 threads, 1,325 registered users;
online 5 (1 registered, 4 guests [including 5 identified bots]).
Forum time (Europe/Vienna): 02:01 CEST

On two occasions I have been asked,—“Pray, Mr. Babbage,
if you put into the machine wrong figures,…
will the right answers come out?”

I am not able rightly to apprehend the kind of confusion of ideas
that could provoke such a question.    Charles Babbage

The BIOEQUIVALENCE / BIOAVAILABILITY FORUM is hosted by
BEBAC Ing. Helmut Schütz
HTML5