Skip to content
Prev 180227 / 398506 Next

Problems with randomly generating samples

How about

samples <- rnorm(1000*100,0,1)
dim(samples) <- c(1000,100)

Hope this is helpful,

Dan

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA  98504-5204