rand_mat | R Documentation |
A random matrix
data(rand_mat)
Following code was used to generate rand_mat
:
set.seed(123) rand_mat = cbind(rbind(matrix(rnorm(20*20, mean = 1, sd = 0.5), nr = 20), matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20), matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20)), rbind(matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20), matrix(rnorm(20*20, mean = 1, sd = 0.5), nr = 20), matrix(rnorm(20*20, mean = 0, sd = 0.5), nr = 20)), rbind(matrix(rnorm(20*20, mean = 0.5, sd = 0.5), nr = 20), matrix(rnorm(20*20, mean = 0.5, sd = 0.5), nr = 20), matrix(rnorm(20*20, mean = 1, sd = 0.5), nr = 20)) ) + matrix(rnorm(60*60, sd = 0.5), nr = 60) colnames(rand_mat) = paste0("C", 1:60) rownames(rand_mat) = paste0("R", 1:60)
Zuguang Gu <z.gu@dkfz.de>
data(rand_mat)
rand_mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.