Description Usage Arguments Details See Also Examples
Saves a population to file for later use
1 | save_population(population, file_name, compression = TRUE)
|
population |
Object of class |
file_name |
Name of the file to save the population |
compression |
By default, the population is compressed to reduce file size. See for more information |
This function functions as a wrapper for the base function saveRDS
.
1 2 3 4 5 6 7 | wildpop <- create_population(pop_size = 10,
number_of_founders = 2,
total_runtime = 3,
morgan = 1,
seed = 123)
save_population(wildpop, file_name = "wildpop.pop")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.