Description Usage Arguments Value
View source: R/par_to_config.R
A function extracting information from a par file and put it into a configuration data frame. Note that because we only consider one historical expansion event, the par file format is semi-fixed, and a template par file is included in the package for using as a template.
1 | par_to_config(bayessc_par_file, species, nloci, gen = NA)
|
bayessc_par_file |
A character string providing the path to the .par file |
species |
A character vector containing the species names |
nloci |
A integer. The number of loci to simulate for each species |
gen |
A vector of integers containing the generation time for each species. If it is of length 1, function will assume the same generation time for all species. If it is |
A configuration data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.