View source: R/compute_nonlin_sim.R View source: R/compute_nonlin_gene_sim.R
| nonlin_sim_fn | R Documentation |
Computing nonlinear simulations results
Computing nonlinear simulations results
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 )
## 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.