Hi,
Please post in plain text and show the example using ?dput.
Assuming that you wanted a "data.frame" and not a "list"
May be this helps:
set.seed(428)
dat1 <- data.frame(`block identifier`=rep(1:40,each=12),`block
size`=12,`sequence within block`=rep(1:12,40), treatment=sample(paste("Group"
Dear R-listers,
I am using R 3.1, I amtrying to generate 40 patients in each treatment group
with 12 block, Equal number of treatment in each block ,using stratification
Variable age65(yes, no),surgery(yes ,no) and smoke (yes, no)
How can i creat like thislist in R.
block identifier
2 matches
Mail list logo