View source: R/compute_nonlin_sim.R View source: R/compute_nonlin_gene_sim.R
Computing nonlinear simulations results
Computing nonlinear simulations results
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | nonlin_sim_fn(
n = 250,
n_t = 5,
beta = 2,
nGenes = 1000,
rho = 0.5,
re_sd = 1,
type
)
nonlin_sim_fn(
n = 250,
n_t = 5,
beta = 2,
nGenes = 1000,
rho = 0.5,
re_sd = 1,
type
)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ## Not run:
for (n in c(50,100,150)) {
betas <- seq(-2, 2, length = 11)
standard.l <- list()
for (i in 1:11) {
standard.sim <- nonlin_sim_fn(type = 'standard',
nGenes = 100,
n = n,
beta = betas[i],
n_t = 5,
re_sd = 1)
standard.l[[as.character(betas[i])]] <- standard.sim
}
}
## End(Not run)
## Not run:
for (n in c(50,100,150)) {
betas <- seq(-2, 2, length = 11)
standard.l <- list()
for (i in 1:11) {
standard.sim <- nonlin_sim_fn(type = 'standard',
nGenes = 100,
n = n,
beta = betas[i],
n_t = 5,
re_sd = 1)
standard.l[[as.character(betas[i])]] <- standard.sim
}
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.