LNNB-snippet.R

From Organic Design wiki
Revision as of 04:42, 28 August 2006 by Sven (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

mu <- defaults["mu"] sigma <- defaults["sigma"] tau <- defaults["tau"] p <- 2*slides means <- c(rep(rnorm(2*m1, mu, tau), each=slides),rep(rnorm(m0 , mu, tau), each=p))

X <- 2^(rnorm(m*p, means, sigma)) dim(X) <- c(p, m) X <- t(X)